#B662E8#B662E8

#B662E8 is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 65.0% C 0.203 H 310.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B662E8
RGBrgb(182, 98, 232)
HSLhsl(278, 74%, 65%)
HSVhsv(278, 58%, 91%)
CMYKcmyk(21.6%, 57.8%, 0%, 9%)
CIE-LABlab(56.59, 56.16, -54.59)
CIE-LCHlch(56.59, 78.32, 315.81°)
OKLaboklab(64.97% 0.133 -0.1534)
OKLCHoklch(64.97% 0.203 310.9)
XYZxyz(38.2219, 24.5075, 79.0452)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B662E8 #94E862
analogous
#7362E8 #B662E8 #E862D7
triadic
#B662E8 #E8B662 #62E8B6
tetradic
#B662E8 #E87362 #94E862 #62D7E8
square
#B662E8 #E87362 #94E862 #62D7E8
split-complementary
#B662E8 #D7E862 #62E873
monochromatic
#7B1BB5 #9D2DE0 #B662E8 #CF97F0 #E8CDF8

Accessibility & contrast

On white

3.56
#B662E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#B662E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B662E8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B662E8#FFFFFF#000000##000000
##B662E81.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3484EC
Deuteranopia (green-blind)
#5689E5
Tritanopia (blue-blind)
#B07A9C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b662e8;
/* rgb */ color: rgb(182, 98, 232);
/* oklch */ color: oklch(65.0% 0.203 310.9);
Tailwind
colors: {
  custom: {
    50: '#cf92f0',
    500: '#b662e8',
    950: '#000000',
  },
}
SCSS
$custom: #b662e8;
$custom-light: #cf92f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b662e8",
  "rgb": {
    "r": 182,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 277.612,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64972,
    "c": 0.203,
    "h": 310.9
  },
  "luminance": 0.24507
}

Semantic roles & 50–950 ramp

primary
#B662E8
secondary
#CDEABC
accent
#D70F59
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B662E8

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

Preview Lab → · Contrast checker → · Palette generator →

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