#B662E7#B662E7

#B662E7 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.9% C 0.202 H 311.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B662E7
RGBrgb(182, 98, 231)
HSLhsl(278, 73%, 65%)
HSVhsv(278, 58%, 91%)
CMYKcmyk(21.2%, 57.6%, 0%, 9.4%)
CIE-LABlab(56.54, 55.94, -54.12)
CIE-LCHlch(56.54, 77.84, 315.95°)
OKLaboklab(64.91% 0.133 -0.152)
OKLCHoklch(64.91% 0.202 311.2)
XYZxyz(38.0802, 24.4508, 78.2993)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B662E7 #93E762
analogous
#7462E7 #B662E7 #E762D5
triadic
#B662E7 #E7B662 #62E7B6
tetradic
#B662E7 #E77462 #93E762 #62D5E7
square
#B662E7 #E77462 #93E762 #62D5E7
split-complementary
#B662E7 #D5E762 #62E774
monochromatic
#7B1BB3 #9D2DDF #B662E7 #CF97EF #E7CCF7

Accessibility & contrast

On white

3.57
#B662E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#B662E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B662E7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B662E7#FFFFFF#000000##000000
##B662E71.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3584EB
Deuteranopia (green-blind)
#5789E4
Tritanopia (blue-blind)
#B07A9B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b662e7;
/* rgb */ color: rgb(182, 98, 231);
/* oklch */ color: oklch(64.9% 0.202 311.2);
Tailwind
colors: {
  custom: {
    50: '#cf92ef',
    500: '#b662e7',
    950: '#000000',
  },
}
SCSS
$custom: #b662e7;
$custom-light: #cf92ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b662e7",
  "rgb": {
    "r": 182,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 277.895,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64913,
    "c": 0.20195,
    "h": 311.2
  },
  "luminance": 0.2445
}

Semantic roles & 50–950 ramp

primary
#B662E7
secondary
#CCE9BB
accent
#D61059
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B662E7

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

Preview Lab → · Contrast checker → · Palette generator →

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