#B462CA#B462CA

#B462CA is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.1% C 0.171 H 318.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B462CA
RGBrgb(180, 98, 202)
HSLhsl(287, 50%, 59%)
HSVhsv(287, 51%, 79%)
CMYKcmyk(10.9%, 51.5%, 0%, 20.8%)
CIE-LABlab(54.77, 49.38, -40.55)
CIE-LCHlch(54.77, 63.90, 320.61°)
OKLaboklab(63.07% 0.1286 -0.1125)
OKLCHoklch(63.07% 0.171 318.8)
XYZxyz(33.8493, 22.7042, 58.4650)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462CA #78CA62
analogous
#8062CA #B462CA #CA62AC
triadic
#B462CA #CAB462 #62CAB4
tetradic
#B462CA #CA8062 #78CA62 #62ACCA
square
#B462CA #CA8062 #78CA62 #62ACCA
split-complementary
#B462CA #ACCA62 #62CA80
monochromatic
#722D85 #9A3CB3 #B462CA #CA90D9 #E0BEE9

Accessibility & contrast

On white

3.79
#B462CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B462CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462CA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462CA#FFFFFF#000000##000000
##B462CA1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ECD
Deuteranopia (green-blind)
#6886C7
Tritanopia (blue-blind)
#B4718D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b462ca;
/* rgb */ color: rgb(180, 98, 202);
/* oklch */ color: oklch(63.1% 0.171 318.8);
Tailwind
colors: {
  custom: {
    50: '#cd92da',
    500: '#b462ca',
    950: '#000000',
  },
}
SCSS
$custom: #b462ca;
$custom-light: #cd92da;
$custom-dark: #000000;
JSON
{
  "hex": "#b462ca",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 287.308,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63066,
    "c": 0.17088,
    "h": 318.8
  },
  "luminance": 0.22703
}

Semantic roles & 50–950 ramp

primary
#B462CA
secondary
#B8D8AF
accent
#D94F6C
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B462CA

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

Preview Lab → · Contrast checker → · Palette generator →

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