#B668E6#B668E6

#B668E6 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.7% C 0.192 H 310.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B668E6
RGBrgb(182, 104, 230)
HSLhsl(277, 72%, 65%)
HSVhsv(277, 55%, 90%)
CMYKcmyk(20.9%, 54.8%, 0%, 9.8%)
CIE-LABlab(57.62, 52.71, -51.84)
CIE-LCHlch(57.62, 73.93, 315.48°)
OKLaboklab(65.69% 0.1253 -0.1454)
OKLCHoklch(65.69% 0.192 310.8)
XYZxyz(38.5220, 25.5597, 77.7518)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B668E6 #98E668
analogous
#7768E6 #B668E6 #E668D7
triadic
#B668E6 #E6B668 #68E6B6
tetradic
#B668E6 #E67768 #98E668 #68D7E6
square
#B668E6 #E67768 #98E668 #68D7E6
split-complementary
#B668E6 #D7E668 #68E677
monochromatic
#7C1EB6 #9D33DD #B668E6 #CF9DEF #E9D1F7

Accessibility & contrast

On white

3.44
#B668E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#B668E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B668E6
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B668E6#FFFFFF#000000##000000
##B668E61.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4287EA
Deuteranopia (green-blind)
#5D8CE3
Tritanopia (blue-blind)
#B07E9D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b668e6;
/* rgb */ color: rgb(182, 104, 230);
/* oklch */ color: oklch(65.7% 0.192 310.8);
Tailwind
colors: {
  custom: {
    50: '#cf96ee',
    500: '#b668e6',
    950: '#000000',
  },
}
SCSS
$custom: #b668e6;
$custom-light: #cf96ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b668e6",
  "rgb": {
    "r": 182,
    "g": 104,
    "b": 230
  },
  "hsl": {
    "h": 277.143,
    "s": 71.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65687,
    "c": 0.19194,
    "h": 310.8
  },
  "luminance": 0.25559
}

Semantic roles & 50–950 ramp

primary
#B668E6
secondary
#D0EAC0
accent
#D4125C
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B668E6

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

Preview Lab → · Contrast checker → · Palette generator →

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