#B462DB#B462DB

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

Color values

HEX#B462DB
RGBrgb(180, 98, 219)
HSLhsl(281, 63%, 62%)
HSVhsv(281, 55%, 86%)
CMYKcmyk(17.8%, 55.3%, 0%, 14.1%)
CIE-LABlab(55.64, 52.89, -48.82)
CIE-LCHlch(55.64, 71.97, 317.29°)
OKLaboklab(63.99% 0.13 -0.1366)
OKLCHoklch(63.99% 0.189 313.6)
XYZxyz(35.9741, 23.5541, 69.6555)
Luminance0.2355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462DB #89DB62
analogous
#7862DB #B462DB #DB62C6
triadic
#B462DB #DBB462 #62DBB4
tetradic
#B462DB #DB7862 #89DB62 #62C6DB
square
#B462DB #DB7862 #89DB62 #62C6DB
split-complementary
#B462DB #C6DB62 #62DB78
monochromatic
#77249E #9C30D0 #B462DB #CC94E6 #E4C6F2

Accessibility & contrast

On white

3.68
#B462DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B462DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462DB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462DB#FFFFFF#000000##000000
##B462DB1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181DF
Deuteranopia (green-blind)
#5E87D8
Tritanopia (blue-blind)
#B17695
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b462db;
/* rgb */ color: rgb(180, 98, 219);
/* oklch */ color: oklch(64.0% 0.189 313.6);
Tailwind
colors: {
  custom: {
    50: '#cd92e7',
    500: '#b462db',
    950: '#000000',
  },
}
SCSS
$custom: #b462db;
$custom-light: #cd92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b462db",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 280.661,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63991,
    "c": 0.18857,
    "h": 313.6
  },
  "luminance": 0.23553
}

Semantic roles & 50–950 ramp

primary
#B462DB
secondary
#C5E3B6
accent
#CA1B54
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B462DB

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

Preview Lab → · Contrast checker → · Palette generator →

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