#B462DC#B462DC

#B462DC is a light, vivid purple. Relative luminance 0.236; OKLCH L 64.0% C 0.190 H 313.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B462DC
RGBrgb(180, 98, 220)
HSLhsl(280, 64%, 62%)
HSVhsv(280, 55%, 86%)
CMYKcmyk(18.2%, 55.5%, 0%, 13.7%)
CIE-LABlab(55.69, 53.10, -49.30)
CIE-LCHlch(55.69, 72.45, 317.13°)
OKLaboklab(64.05% 0.1301 -0.138)
OKLCHoklch(64.05% 0.19 313.3)
XYZxyz(36.1061, 23.6069, 70.3509)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462DC #8ADC62
analogous
#7762DC #B462DC #DC62C7
triadic
#B462DC #DCB462 #62DCB4
tetradic
#B462DC #DC7762 #8ADC62 #62C7DC
square
#B462DC #DC7762 #8ADC62 #62C7DC
split-complementary
#B462DC #C7DC62 #62DC77
monochromatic
#7724A0 #9C30D1 #B462DC #CC94E7 #E4C6F2

Accessibility & contrast

On white

3.67
#B462DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#B462DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462DC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462DC#FFFFFF#000000##000000
##B462DC1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4081E0
Deuteranopia (green-blind)
#5D87D9
Tritanopia (blue-blind)
#B07796
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b462dc;
/* rgb */ color: rgb(180, 98, 220);
/* oklch */ color: oklch(64.0% 0.190 313.3);
Tailwind
colors: {
  custom: {
    50: '#cd92e7',
    500: '#b462dc',
    950: '#000000',
  },
}
SCSS
$custom: #b462dc;
$custom-light: #cd92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b462dc",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 280.328,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64048,
    "c": 0.18963,
    "h": 313.3
  },
  "luminance": 0.23606
}

Semantic roles & 50–950 ramp

primary
#B462DC
secondary
#C5E3B7
accent
#CB1A54
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B462DC

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

Preview Lab → · Contrast checker → · Palette generator →

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