#B462F9#B462F9

#B462F9 is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.8% C 0.220 H 306.3°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B462F9
RGBrgb(180, 98, 249)
HSLhsl(273, 93%, 68%)
HSVhsv(273, 61%, 98%)
CMYKcmyk(27.7%, 60.6%, 0%, 2.4%)
CIE-LABlab(57.35, 59.44, -62.87)
CIE-LCHlch(57.35, 86.52, 313.39°)
OKLaboklab(65.79% 0.1304 -0.1777)
OKLCHoklch(65.79% 0.22 306.3)
XYZxyz(40.2853, 25.2786, 92.3611)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462F9 #A7F962
analogous
#6862F9 #B462F9 #F962F2
triadic
#B462F9 #F9B462 #62F9B4
tetradic
#B462F9 #F96862 #A7F962 #62F2F9
square
#B462F9 #F96862 #A7F962 #62F2F9
split-complementary
#B462F9 #F2F962 #62F968
monochromatic
#7908D8 #9827F7 #B462F9 #D09DFB #ECD8FE

Accessibility & contrast

On white

3.47
#B462F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#B462F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462F9
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462F9#FFFFFF#000000##000000
##B462F91.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D87FE
Deuteranopia (green-blind)
#438AF6
Tritanopia (blue-blind)
#A981A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b462f9;
/* rgb */ color: rgb(180, 98, 249);
/* oklch */ color: oklch(65.8% 0.220 306.3);
Tailwind
colors: {
  custom: {
    50: '#cf93fc',
    500: '#b462f9',
    950: '#000000',
  },
}
SCSS
$custom: #b462f9;
$custom-light: #cf93fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b462f9",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 249
  },
  "hsl": {
    "h": 272.583,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65787,
    "c": 0.2204,
    "h": 306.3
  },
  "luminance": 0.25278
}

Semantic roles & 50–950 ramp

primary
#B462F9
secondary
#D9F2C4
accent
#E60069
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B462F9

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

Preview Lab → · Contrast checker → · Palette generator →

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