#B462DE#B462DE

#B462DE is a light, vivid violet. Relative luminance 0.237; OKLCH L 64.2% C 0.192 H 312.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B462DE
RGBrgb(180, 98, 222)
HSLhsl(280, 65%, 63%)
HSVhsv(280, 56%, 87%)
CMYKcmyk(18.9%, 55.9%, 0%, 12.9%)
CIE-LABlab(55.80, 53.53, -50.25)
CIE-LCHlch(55.80, 73.42, 316.81°)
OKLaboklab(64.16% 0.1302 -0.1407)
OKLCHoklch(64.16% 0.192 312.8)
XYZxyz(36.3726, 23.7135, 71.7542)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462DE #8CDE62
analogous
#7662DE #B462DE #DE62CA
triadic
#B462DE #DEB462 #62DEB4
tetradic
#B462DE #DE7662 #8CDE62 #62CADE
square
#B462DE #DE7662 #8CDE62 #62CADE
split-complementary
#B462DE #CADE62 #62DE76
monochromatic
#7822A3 #9C2FD3 #B462DE #CC95E9 #E4C7F3

Accessibility & contrast

On white

3.66
#B462DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#B462DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462DE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462DE#FFFFFF#000000##000000
##B462DE1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E81E2
Deuteranopia (green-blind)
#5C88DB
Tritanopia (blue-blind)
#B07797
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b462de;
/* rgb */ color: rgb(180, 98, 222);
/* oklch */ color: oklch(64.2% 0.192 312.8);
Tailwind
colors: {
  custom: {
    50: '#cd92e9',
    500: '#b462de',
    950: '#000000',
  },
}
SCSS
$custom: #b462de;
$custom-light: #cd92e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b462de",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 279.677,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64162,
    "c": 0.19174,
    "h": 312.8
  },
  "luminance": 0.23713
}

Semantic roles & 50–950 ramp

primary
#B462DE
secondary
#C7E4B7
accent
#CD1856
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B462DE

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

Preview Lab → · Contrast checker → · Palette generator →

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