#B662EF#B662EF

#B662EF is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.4% C 0.210 H 309.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B662EF
RGBrgb(182, 98, 239)
HSLhsl(276, 82%, 66%)
HSVhsv(276, 59%, 94%)
CMYKcmyk(23.8%, 59%, 0%, 6.3%)
CIE-LABlab(56.99, 57.68, -57.86)
CIE-LCHlch(56.99, 81.70, 314.91°)
OKLaboklab(65.39% 0.133 -0.163)
OKLCHoklch(65.39% 0.21 309.2)
XYZxyz(39.2360, 24.9131, 84.3864)
Luminance0.2491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B662EF #9BEF62
analogous
#6F62EF #B662EF #EF62E1
triadic
#B662EF #EFB662 #62EFB6
tetradic
#B662EF #EF6F62 #9BEF62 #62E1EF
square
#B662EF #EF6F62 #9BEF62 #62E1EF
split-complementary
#B662EF #E1EF62 #62EF6F
monochromatic
#7C14C3 #9C2AE9 #B662EF #D09AF5 #EAD1FA

Accessibility & contrast

On white

3.51
#B662EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#B662EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B662EF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B662EF#FFFFFF#000000##000000
##B662EF1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A85F3
Deuteranopia (green-blind)
#508AEC
Tritanopia (blue-blind)
#AE7D9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b662ef;
/* rgb */ color: rgb(182, 98, 239);
/* oklch */ color: oklch(65.4% 0.210 309.2);
Tailwind
colors: {
  custom: {
    50: '#cf92f5',
    500: '#b662ef',
    950: '#000000',
  },
}
SCSS
$custom: #b662ef;
$custom-light: #cf92f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b662ef",
  "rgb": {
    "r": 182,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 275.745,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65391,
    "c": 0.21037,
    "h": 309.2
  },
  "luminance": 0.24912
}

Semantic roles & 50–950 ramp

primary
#B662EF
secondary
#D2EEBF
accent
#DE085E
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B662EF

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

Preview Lab → · Contrast checker → · Palette generator →

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