#B368E7#B368E7

#B368E7 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.4% C 0.192 H 309.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B368E7
RGBrgb(179, 104, 231)
HSLhsl(275, 73%, 66%)
HSVhsv(275, 55%, 91%)
CMYKcmyk(22.5%, 55%, 0%, 9.4%)
CIE-LABlab(57.32, 52.17, -52.89)
CIE-LCHlch(57.32, 74.29, 314.61°)
OKLaboklab(65.41% 0.1217 -0.1485)
OKLCHoklch(65.41% 0.192 309.3)
XYZxyz(37.9617, 25.2545, 78.4606)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368E7 #9CE768
analogous
#7368E7 #B368E7 #E768DB
triadic
#B368E7 #E7B368 #68E7B3
tetradic
#B368E7 #E77368 #9CE768 #68DBE7
square
#B368E7 #E77368 #9CE768 #68DBE7
split-complementary
#B368E7 #DBE768 #68E773
monochromatic
#781DB7 #9833DF #B368E7 #CE9DEF #E8D2F8

Accessibility & contrast

On white

3.47
#B368E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#B368E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368E7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368E7#FFFFFF#000000##000000
##B368E71.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4086EB
Deuteranopia (green-blind)
#5A8BE4
Tritanopia (blue-blind)
#AC7F9E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b368e7;
/* rgb */ color: rgb(179, 104, 231);
/* oklch */ color: oklch(65.4% 0.192 309.3);
Tailwind
colors: {
  custom: {
    50: '#cd96ef',
    500: '#b368e7',
    950: '#000000',
  },
}
SCSS
$custom: #b368e7;
$custom-light: #cd96ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b368e7",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 231
  },
  "hsl": {
    "h": 275.433,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65411,
    "c": 0.19202,
    "h": 309.3
  },
  "luminance": 0.25254
}

Semantic roles & 50–950 ramp

primary
#B368E7
secondary
#D2EBC0
accent
#D51161
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B368E7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B368E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva