#B368EA#B368EA

#B368EA is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.6% C 0.195 H 308.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B368EA
RGBrgb(179, 104, 234)
HSLhsl(275, 76%, 66%)
HSVhsv(275, 56%, 92%)
CMYKcmyk(23.5%, 55.6%, 0%, 8.2%)
CIE-LABlab(57.49, 52.84, -54.30)
CIE-LCHlch(57.49, 75.77, 314.22°)
OKLaboklab(65.59% 0.1219 -0.1526)
OKLCHoklch(65.59% 0.195 308.6)
XYZxyz(38.3891, 25.4254, 80.7112)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368EA #9FEA68
analogous
#7268EA #B368EA #EA68E0
triadic
#B368EA #EAB368 #68EAB3
tetradic
#B368EA #EA7268 #9FEA68 #68E0EA
square
#B368EA #EA7268 #9FEA68 #68E0EA
split-complementary
#B368EA #E0EA68 #68EA72
monochromatic
#781ABD #9832E3 #B368EA #CE9EF1 #E9D3F9

Accessibility & contrast

On white

3.45
#B368EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#B368EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368EA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368EA#FFFFFF#000000##000000
##B368EA1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EE
Deuteranopia (green-blind)
#588BE7
Tritanopia (blue-blind)
#AB809F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b368ea;
/* rgb */ color: rgb(179, 104, 234);
/* oklch */ color: oklch(65.6% 0.195 308.6);
Tailwind
colors: {
  custom: {
    50: '#cd96f1',
    500: '#b368ea',
    950: '#000000',
  },
}
SCSS
$custom: #b368ea;
$custom-light: #cd96f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b368ea",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 274.615,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65586,
    "c": 0.19531,
    "h": 308.6
  },
  "luminance": 0.25425
}

Semantic roles & 50–950 ramp

primary
#B368EA
secondary
#D4ECC2
accent
#D80E63
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B368EA

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

Preview Lab → · Contrast checker → · Palette generator →

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