#B668EC#B668EC

#B668EC is a light, vivid violet. Relative luminance 0.259; OKLCH L 66.0% C 0.198 H 309.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B668EC
RGBrgb(182, 104, 236)
HSLhsl(275, 78%, 67%)
HSVhsv(275, 56%, 93%)
CMYKcmyk(22.9%, 55.9%, 0%, 7.5%)
CIE-LABlab(57.94, 54.02, -54.67)
CIE-LCHlch(57.94, 76.86, 314.66°)
OKLaboklab(66.03% 0.1256 -0.1536)
OKLCHoklch(66.03% 0.198 309.3)
XYZxyz(39.3791, 25.9025, 82.2658)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B668EC #9EEC68
analogous
#7468EC #B668EC #EC68E0
triadic
#B668EC #ECB668 #68ECB6
tetradic
#B668EC #EC7468 #9EEC68 #68E0EC
square
#B668EC #EC7468 #9EEC68 #68E0EC
split-complementary
#B668EC #E0EC68 #68EC74
monochromatic
#7C18C1 #9C32E5 #B668EC #D09EF3 #EBD5FA

Accessibility & contrast

On white

3.40
#B668EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#B668EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B668EC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B668EC#FFFFFF#000000##000000
##B668EC1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C88F0
Deuteranopia (green-blind)
#598CE9
Tritanopia (blue-blind)
#AF80A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b668ec;
/* rgb */ color: rgb(182, 104, 236);
/* oklch */ color: oklch(66.0% 0.198 309.3);
Tailwind
colors: {
  custom: {
    50: '#cf96f3',
    500: '#b668ec',
    950: '#000000',
  },
}
SCSS
$custom: #b668ec;
$custom-light: #cf96f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b668ec",
  "rgb": {
    "r": 182,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 275.455,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66033,
    "c": 0.19844,
    "h": 309.3
  },
  "luminance": 0.25902
}

Semantic roles & 50–950 ramp

primary
#B668EC
secondary
#D4EDC3
accent
#DA0C60
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B668EC

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

Preview Lab → · Contrast checker → · Palette generator →

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