#B662EE#B662EE

#B662EE is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.3% C 0.209 H 309.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B662EE
RGBrgb(182, 98, 238)
HSLhsl(276, 80%, 66%)
HSVhsv(276, 59%, 93%)
CMYKcmyk(23.5%, 58.8%, 0%, 6.7%)
CIE-LABlab(56.93, 57.46, -57.40)
CIE-LCHlch(56.93, 81.22, 315.03°)
OKLaboklab(65.33% 0.133 -0.1616)
OKLCHoklch(65.33% 0.209 309.5)
XYZxyz(39.0887, 24.8542, 83.6105)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B662EE #9AEE62
analogous
#7062EE #B662EE #EE62E0
triadic
#B662EE #EEB662 #62EEB6
tetradic
#B662EE #EE7062 #9AEE62 #62E0EE
square
#B662EE #EE7062 #9AEE62 #62E0EE
split-complementary
#B662EE #E0EE62 #62EE70
monochromatic
#7C15C1 #9C2BE8 #B662EE #D099F4 #E9D0FA

Accessibility & contrast

On white

3.52
#B662EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#B662EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B662EE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B662EE#FFFFFF#000000##000000
##B662EE1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F2
Deuteranopia (green-blind)
#518AEB
Tritanopia (blue-blind)
#AE7C9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b662ee;
/* rgb */ color: rgb(182, 98, 238);
/* oklch */ color: oklch(65.3% 0.209 309.5);
Tailwind
colors: {
  custom: {
    50: '#cf92f4',
    500: '#b662ee',
    950: '#000000',
  },
}
SCSS
$custom: #b662ee;
$custom-light: #cf92f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b662ee",
  "rgb": {
    "r": 182,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 276,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6533,
    "c": 0.20932,
    "h": 309.5
  },
  "luminance": 0.24853
}

Semantic roles & 50–950 ramp

primary
#B662EE
secondary
#D1EDBF
accent
#DD095E
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B662EE

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

Preview Lab → · Contrast checker → · Palette generator →

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