#B462CD#B462CD

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

Color values

HEX#B462CD
RGBrgb(180, 98, 205)
HSLhsl(286, 52%, 59%)
HSVhsv(286, 52%, 80%)
CMYKcmyk(12.2%, 52.2%, 0%, 19.6%)
CIE-LABlab(54.92, 49.99, -42.02)
CIE-LCHlch(54.92, 65.31, 319.95°)
OKLaboklab(63.22% 0.1289 -0.1168)
OKLCHoklch(63.22% 0.174 317.8)
XYZxyz(34.2080, 22.8477, 60.3539)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462CD #7BCD62
analogous
#7F62CD #B462CD #CD62B1
triadic
#B462CD #CDB462 #62CDB4
tetradic
#B462CD #CD7F62 #7BCD62 #62B1CD
square
#B462CD #CD7F62 #7BCD62 #62B1CD
split-complementary
#B462CD #B1CD62 #62CD7F
monochromatic
#732C89 #9A3AB7 #B462CD #CA90DC #E0BFEB

Accessibility & contrast

On white

3.77
#B462CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B462CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462CD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462CD#FFFFFF#000000##000000
##B462CD1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ED1
Deuteranopia (green-blind)
#6686CA
Tritanopia (blue-blind)
#B4728E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b462cd;
/* rgb */ color: rgb(180, 98, 205);
/* oklch */ color: oklch(63.2% 0.174 317.8);
Tailwind
colors: {
  custom: {
    50: '#cd92dd',
    500: '#b462cd',
    950: '#000000',
  },
}
SCSS
$custom: #b462cd;
$custom-light: #cd92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b462cd",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 285.981,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63224,
    "c": 0.17397,
    "h": 317.8
  },
  "luminance": 0.22846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B462CD

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

Preview Lab → · Contrast checker → · Palette generator →

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