#B462EA#B462EA

#B462EA is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.9% C 0.204 H 309.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B462EA
RGBrgb(180, 98, 234)
HSLhsl(276, 76%, 65%)
HSVhsv(276, 58%, 92%)
CMYKcmyk(23.1%, 58.1%, 0%, 8.2%)
CIE-LABlab(56.47, 56.11, -55.93)
CIE-LCHlch(56.47, 79.22, 315.10°)
OKLaboklab(64.86% 0.1306 -0.1573)
OKLCHoklch(64.86% 0.204 309.7)
XYZxyz(38.0385, 24.3799, 80.5279)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462EA #98EA62
analogous
#7062EA #B462EA #EA62DC
triadic
#B462EA #EAB462 #62EAB4
tetradic
#B462EA #EA7062 #98EA62 #62DCEA
square
#B462EA #EA7062 #98EA62 #62DCEA
split-complementary
#B462EA #DCEA62 #62EA70
monochromatic
#7919B9 #9A2CE3 #B462EA #CE98F1 #E8CEF8

Accessibility & contrast

On white

3.57
#B462EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#B462EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462EA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462EA#FFFFFF#000000##000000
##B462EA1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EE
Deuteranopia (green-blind)
#5289E7
Tritanopia (blue-blind)
#AD7B9D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b462ea;
/* rgb */ color: rgb(180, 98, 234);
/* oklch */ color: oklch(64.9% 0.204 309.7);
Tailwind
colors: {
  custom: {
    50: '#ce92f1',
    500: '#b462ea',
    950: '#000000',
  },
}
SCSS
$custom: #b462ea;
$custom-light: #ce92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b462ea",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 276.176,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64864,
    "c": 0.20445,
    "h": 309.7
  },
  "luminance": 0.24379
}

Semantic roles & 50–950 ramp

primary
#B462EA
secondary
#CFEBBD
accent
#D90D5E
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B462EA

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

Preview Lab → · Contrast checker → · Palette generator →

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