#B462DF#B462DF

#B462DF is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.2% C 0.193 H 312.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B462DF
RGBrgb(180, 98, 223)
HSLhsl(279, 66%, 63%)
HSVhsv(279, 56%, 87%)
CMYKcmyk(19.3%, 56.1%, 0%, 12.5%)
CIE-LABlab(55.85, 53.74, -50.73)
CIE-LCHlch(55.85, 73.90, 316.65°)
OKLaboklab(64.22% 0.1303 -0.1421)
OKLCHoklch(64.22% 0.193 312.5)
XYZxyz(36.5070, 23.7673, 72.4621)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462DF #8DDF62
analogous
#7562DF #B462DF #DF62CC
triadic
#B462DF #DFB462 #62DFB4
tetradic
#B462DF #DF7562 #8DDF62 #62CCDF
square
#B462DF #DF7562 #8DDF62 #62CCDF
split-complementary
#B462DF #CCDF62 #62DF75
monochromatic
#7822A5 #9C2FD5 #B462DF #CC95E9 #E5C8F4

Accessibility & contrast

On white

3.65
#B462DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#B462DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462DF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462DF#FFFFFF#000000##000000
##B462DF1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D82E3
Deuteranopia (green-blind)
#5B88DC
Tritanopia (blue-blind)
#B07897
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b462df;
/* rgb */ color: rgb(180, 98, 223);
/* oklch */ color: oklch(64.2% 0.193 312.5);
Tailwind
colors: {
  custom: {
    50: '#cd92e9',
    500: '#b462df',
    950: '#000000',
  },
}
SCSS
$custom: #b462df;
$custom-light: #cd92e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b462df",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 279.36,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64219,
    "c": 0.1928,
    "h": 312.5
  },
  "luminance": 0.23766
}

Semantic roles & 50–950 ramp

primary
#B462DF
secondary
#C7E5B8
accent
#CE1756
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B462DF

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

Preview Lab → · Contrast checker → · Palette generator →

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