#B668E7#B668E7

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

Color values

HEX#B668E7
RGBrgb(182, 104, 231)
HSLhsl(277, 73%, 66%)
HSVhsv(277, 55%, 91%)
CMYKcmyk(21.2%, 55%, 0%, 9.4%)
CIE-LABlab(57.67, 52.93, -52.31)
CIE-LCHlch(57.67, 74.42, 315.33°)
OKLaboklab(65.74% 0.1254 -0.1467)
OKLCHoklch(65.74% 0.193 310.5)
XYZxyz(38.6628, 25.6160, 78.4935)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B668E7 #99E768
analogous
#7668E7 #B668E7 #E768D9
triadic
#B668E7 #E7B668 #68E7B6
tetradic
#B668E7 #E77668 #99E768 #68D9E7
square
#B668E7 #E77668 #99E768 #68D9E7
split-complementary
#B668E7 #D9E768 #68E776
monochromatic
#7C1DB7 #9C33DF #B668E7 #D09DEF #E9D2F8

Accessibility & contrast

On white

3.43
#B668E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#B668E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B668E7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B668E7#FFFFFF#000000##000000
##B668E71.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4187EB
Deuteranopia (green-blind)
#5D8CE4
Tritanopia (blue-blind)
#B07E9E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b668e7;
/* rgb */ color: rgb(182, 104, 231);
/* oklch */ color: oklch(65.7% 0.193 310.5);
Tailwind
colors: {
  custom: {
    50: '#cf96ef',
    500: '#b668e7',
    950: '#000000',
  },
}
SCSS
$custom: #b668e7;
$custom-light: #cf96ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b668e7",
  "rgb": {
    "r": 182,
    "g": 104,
    "b": 231
  },
  "hsl": {
    "h": 276.85,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65744,
    "c": 0.19302,
    "h": 310.5
  },
  "luminance": 0.25615
}

Semantic roles & 50–950 ramp

primary
#B668E7
secondary
#D1EBC0
accent
#D5115C
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B668E7

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

Preview Lab → · Contrast checker → · Palette generator →

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