#B462ED#B462ED

#B462ED is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.0% C 0.208 H 309.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B462ED
RGBrgb(180, 98, 237)
HSLhsl(275, 79%, 66%)
HSVhsv(275, 59%, 93%)
CMYKcmyk(24.1%, 58.6%, 0%, 7.1%)
CIE-LABlab(56.64, 56.77, -57.33)
CIE-LCHlch(56.64, 80.68, 314.72°)
OKLaboklab(65.05% 0.1306 -0.1614)
OKLCHoklch(65.05% 0.208 309)
XYZxyz(38.4731, 24.5537, 82.8169)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462ED #9BED62
analogous
#6E62ED #B462ED #ED62E0
triadic
#B462ED #EDB462 #62EDB4
tetradic
#B462ED #ED6E62 #9BED62 #62E0ED
square
#B462ED #ED6E62 #9BED62 #62E0ED
split-complementary
#B462ED #E0ED62 #62ED6E
monochromatic
#7916BF #9A2BE7 #B462ED #CE99F3 #E8D0FA

Accessibility & contrast

On white

3.55
#B462ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#B462ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462ED
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462ED#FFFFFF#000000##000000
##B462ED1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B84F1
Deuteranopia (green-blind)
#5089EA
Tritanopia (blue-blind)
#AC7C9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b462ed;
/* rgb */ color: rgb(180, 98, 237);
/* oklch */ color: oklch(65.0% 0.208 309.0);
Tailwind
colors: {
  custom: {
    50: '#ce92f3',
    500: '#b462ed',
    950: '#000000',
  },
}
SCSS
$custom: #b462ed;
$custom-light: #ce92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b462ed",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 275.396,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65045,
    "c": 0.20764,
    "h": 309
  },
  "luminance": 0.24553
}

Semantic roles & 50–950 ramp

primary
#B462ED
secondary
#D1EDBE
accent
#DC0A60
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B462ED

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

Preview Lab → · Contrast checker → · Palette generator →

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