#B662E9#B662E9

#B662E9 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.0% C 0.204 H 310.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B662E9
RGBrgb(182, 98, 233)
HSLhsl(277, 75%, 65%)
HSVhsv(277, 58%, 91%)
CMYKcmyk(21.9%, 57.9%, 0%, 8.6%)
CIE-LABlab(56.65, 56.38, -55.06)
CIE-LCHlch(56.65, 78.80, 315.68°)
OKLaboklab(65.03% 0.133 -0.1547)
OKLCHoklch(65.03% 0.204 310.7)
XYZxyz(38.3643, 24.5644, 79.7954)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B662E9 #95E962
analogous
#7262E9 #B662E9 #E962D9
triadic
#B662E9 #E9B662 #62E9B6
tetradic
#B662E9 #E97262 #95E962 #62D9E9
square
#B662E9 #E97262 #95E962 #62D9E9
split-complementary
#B662E9 #D9E962 #62E972
monochromatic
#7C1AB7 #9D2CE1 #B662E9 #CF98F1 #E8CDF8

Accessibility & contrast

On white

3.55
#B662E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#B662E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B662E9
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B662E9#FFFFFF#000000##000000
##B662E91.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3384ED
Deuteranopia (green-blind)
#5589E6
Tritanopia (blue-blind)
#B07B9C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b662e9;
/* rgb */ color: rgb(182, 98, 233);
/* oklch */ color: oklch(65.0% 0.204 310.7);
Tailwind
colors: {
  custom: {
    50: '#cf92f1',
    500: '#b662e9',
    950: '#000000',
  },
}
SCSS
$custom: #b662e9;
$custom-light: #cf92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b662e9",
  "rgb": {
    "r": 182,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 277.333,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65031,
    "c": 0.20405,
    "h": 310.7
  },
  "luminance": 0.24564
}

Semantic roles & 50–950 ramp

primary
#B662E9
secondary
#CEEABC
accent
#D80E5A
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B662E9

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

Preview Lab → · Contrast checker → · Palette generator →

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