#B462CC#B462CC

#B462CC is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.2% C 0.173 H 318.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B462CC
RGBrgb(180, 98, 204)
HSLhsl(286, 51%, 59%)
HSVhsv(286, 52%, 80%)
CMYKcmyk(11.8%, 52%, 0%, 20%)
CIE-LABlab(54.87, 49.79, -41.53)
CIE-LCHlch(54.87, 64.84, 320.17°)
OKLaboklab(63.17% 0.1288 -0.1154)
OKLCHoklch(63.17% 0.173 318.1)
XYZxyz(34.0877, 22.7995, 59.7202)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462CC #7ACC62
analogous
#7F62CC #B462CC #CC62AF
triadic
#B462CC #CCB462 #62CCB4
tetradic
#B462CC #CC7F62 #7ACC62 #62AFCC
square
#B462CC #CC7F62 #7ACC62 #62AFCC
split-complementary
#B462CC #AFCC62 #62CC7F
monochromatic
#732C88 #9A3BB6 #B462CC #CA90DB #E0BEEA

Accessibility & contrast

On white

3.78
#B462CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#B462CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462CC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462CC#FFFFFF#000000##000000
##B462CC1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ED0
Deuteranopia (green-blind)
#6786C9
Tritanopia (blue-blind)
#B4728E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b462cc;
/* rgb */ color: rgb(180, 98, 204);
/* oklch */ color: oklch(63.2% 0.173 318.1);
Tailwind
colors: {
  custom: {
    50: '#cd92dc',
    500: '#b462cc',
    950: '#000000',
  },
}
SCSS
$custom: #b462cc;
$custom-light: #cd92dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b462cc",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 286.415,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63171,
    "c": 0.17293,
    "h": 318.1
  },
  "luminance": 0.22798
}

Semantic roles & 50–950 ramp

primary
#B462CC
secondary
#BADAB0
accent
#DA4D6D
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B462CC

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

Preview Lab → · Contrast checker → · Palette generator →

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