#B662CE#B662CE

#B662CE is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.5% C 0.176 H 318.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B662CE
RGBrgb(182, 98, 206)
HSLhsl(287, 52%, 60%)
HSVhsv(287, 52%, 81%)
CMYKcmyk(11.7%, 52.4%, 0%, 19.2%)
CIE-LABlab(55.21, 50.73, -42.10)
CIE-LCHlch(55.21, 65.93, 320.31°)
OKLaboklab(63.51% 0.1314 -0.117)
OKLCHoklch(63.51% 0.176 318.3)
XYZxyz(34.7982, 23.1380, 61.0136)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B662CE #7ACE62
analogous
#8062CE #B662CE #CE62B0
triadic
#B662CE #CEB662 #62CEB6
tetradic
#B662CE #CE8062 #7ACE62 #62B0CE
square
#B662CE #CE8062 #7ACE62 #62B0CE
split-complementary
#B662CE #B0CE62 #62CE80
monochromatic
#752B8A #9D3AB9 #B662CE #CC91DD #E1BFEB

Accessibility & contrast

On white

3.73
#B662CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#B662CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B662CE
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B662CE#FFFFFF#000000##000000
##B662CE1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7FD2
Deuteranopia (green-blind)
#6787CB
Tritanopia (blue-blind)
#B6728F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b662ce;
/* rgb */ color: rgb(182, 98, 206);
/* oklch */ color: oklch(63.5% 0.176 318.3);
Tailwind
colors: {
  custom: {
    50: '#ce92dd',
    500: '#b662ce',
    950: '#000000',
  },
}
SCSS
$custom: #b662ce;
$custom-light: #ce92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b662ce",
  "rgb": {
    "r": 182,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 286.667,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63514,
    "c": 0.17594,
    "h": 318.3
  },
  "luminance": 0.23137
}

Semantic roles & 50–950 ramp

primary
#B662CE
secondary
#BADBB1
accent
#DC4C6C
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B662CE

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

Preview Lab → · Contrast checker → · Palette generator →

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