#B662CD#B662CD

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

Color values

HEX#B662CD
RGBrgb(182, 98, 205)
HSLhsl(287, 52%, 59%)
HSVhsv(287, 52%, 80%)
CMYKcmyk(11.2%, 52.2%, 0%, 19.6%)
CIE-LABlab(55.16, 50.53, -41.61)
CIE-LCHlch(55.16, 65.46, 320.53°)
OKLaboklab(63.46% 0.1313 -0.1156)
OKLCHoklch(63.46% 0.175 318.6)
XYZxyz(34.6771, 23.0895, 60.3758)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B662CD #79CD62
analogous
#8162CD #B662CD #CD62AF
triadic
#B662CD #CDB662 #62CDB6
tetradic
#B662CD #CD8162 #79CD62 #62AFCD
square
#B662CD #CD8162 #79CD62 #62AFCD
split-complementary
#B662CD #AFCD62 #62CD81
monochromatic
#752C89 #9D3AB7 #B662CD #CC90DC #E1BFEB

Accessibility & contrast

On white

3.74
#B662CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#B662CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B662CD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B662CD#FFFFFF#000000##000000
##B662CD1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ED1
Deuteranopia (green-blind)
#6887CA
Tritanopia (blue-blind)
#B6728E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b662cd;
/* rgb */ color: rgb(182, 98, 205);
/* oklch */ color: oklch(63.5% 0.175 318.6);
Tailwind
colors: {
  custom: {
    50: '#ce92dc',
    500: '#b662cd',
    950: '#000000',
  },
}
SCSS
$custom: #b662cd;
$custom-light: #ce92dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b662cd",
  "rgb": {
    "r": 182,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 287.103,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63461,
    "c": 0.17492,
    "h": 318.6
  },
  "luminance": 0.23088
}

Semantic roles & 50–950 ramp

primary
#B662CD
secondary
#BADAB1
accent
#DB4D6B
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B662CD

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

Preview Lab → · Contrast checker → · Palette generator →

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