#B462E8#B462E8

#B462E8 is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.7% C 0.202 H 310.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B462E8
RGBrgb(180, 98, 232)
HSLhsl(277, 74%, 65%)
HSVhsv(277, 58%, 91%)
CMYKcmyk(22.4%, 57.8%, 0%, 9%)
CIE-LABlab(56.35, 55.68, -54.99)
CIE-LCHlch(56.35, 78.25, 315.36°)
OKLaboklab(64.74% 0.1305 -0.1546)
OKLCHoklch(64.74% 0.202 310.2)
XYZxyz(37.7528, 24.2656, 79.0232)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462E8 #96E862
analogous
#7162E8 #B462E8 #E862D9
triadic
#B462E8 #E8B462 #62E8B4
tetradic
#B462E8 #E87162 #96E862 #62D9E8
square
#B462E8 #E87162 #96E862 #62D9E8
split-complementary
#B462E8 #D9E862 #62E871
monochromatic
#791BB5 #9A2DE0 #B462E8 #CD97F0 #E7CDF8

Accessibility & contrast

On white

3.59
#B462E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#B462E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462E8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462E8#FFFFFF#000000##000000
##B462E81.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3383EC
Deuteranopia (green-blind)
#5489E5
Tritanopia (blue-blind)
#AD7B9C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b462e8;
/* rgb */ color: rgb(180, 98, 232);
/* oklch */ color: oklch(64.7% 0.202 310.2);
Tailwind
colors: {
  custom: {
    50: '#ce92f0',
    500: '#b462e8',
    950: '#000000',
  },
}
SCSS
$custom: #b462e8;
$custom-light: #ce92f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b462e8",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 276.716,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64745,
    "c": 0.20233,
    "h": 310.2
  },
  "luminance": 0.24265
}

Semantic roles & 50–950 ramp

primary
#B462E8
secondary
#CEEABC
accent
#D70F5C
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B462E8

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

Preview Lab → · Contrast checker → · Palette generator →

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