#B662DC#B662DC

#B662DC is a light, vivid purple. Relative luminance 0.238; OKLCH L 64.3% C 0.190 H 314.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B662DC
RGBrgb(182, 98, 220)
HSLhsl(281, 64%, 62%)
HSVhsv(281, 55%, 86%)
CMYKcmyk(17.3%, 55.5%, 0%, 13.7%)
CIE-LABlab(55.94, 53.61, -48.89)
CIE-LCHlch(55.94, 72.56, 317.64°)
OKLaboklab(64.28% 0.1325 -0.1367)
OKLCHoklch(64.28% 0.19 314.1)
XYZxyz(36.5752, 23.8488, 70.3729)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B662DC #88DC62
analogous
#7962DC #B662DC #DC62C5
triadic
#B662DC #DCB662 #62DCB6
tetradic
#B662DC #DC7962 #88DC62 #62C5DC
square
#B662DC #DC7962 #88DC62 #62C5DC
split-complementary
#B662DC #C5DC62 #62DC79
monochromatic
#7924A0 #9F30D1 #B662DC #CD94E7 #E5C6F2

Accessibility & contrast

On white

3.64
#B662DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#B662DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B662DC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B662DC#FFFFFF#000000##000000
##B662DC1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181E0
Deuteranopia (green-blind)
#5F88D9
Tritanopia (blue-blind)
#B37696
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b662dc;
/* rgb */ color: rgb(182, 98, 220);
/* oklch */ color: oklch(64.3% 0.190 314.1);
Tailwind
colors: {
  custom: {
    50: '#cf92e7',
    500: '#b662dc',
    950: '#000000',
  },
}
SCSS
$custom: #b662dc;
$custom-light: #cf92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b662dc",
  "rgb": {
    "r": 182,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 281.311,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64279,
    "c": 0.19041,
    "h": 314.1
  },
  "luminance": 0.23848
}

Semantic roles & 50–950 ramp

primary
#B662DC
secondary
#C4E3B7
accent
#CB1A51
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B662DC

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

Preview Lab → · Contrast checker → · Palette generator →

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