#B462F8#B462F8

#B462F8 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.7% C 0.219 H 306.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B462F8
RGBrgb(180, 98, 248)
HSLhsl(273, 91%, 68%)
HSVhsv(273, 60%, 97%)
CMYKcmyk(27.4%, 60.5%, 0%, 2.7%)
CIE-LABlab(57.29, 59.21, -62.41)
CIE-LCHlch(57.29, 86.03, 313.49°)
OKLaboklab(65.72% 0.1304 -0.1763)
OKLCHoklch(65.72% 0.219 306.5)
XYZxyz(40.1298, 25.2164, 91.5419)
Luminance0.2522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462F8 #A6F862
analogous
#6962F8 #B462F8 #F862F1
triadic
#B462F8 #F8B462 #62F8B4
tetradic
#B462F8 #F86962 #A6F862 #62F1F8
square
#B462F8 #F86962 #A6F862 #62F1F8
split-complementary
#B462F8 #F1F862 #62F869
monochromatic
#790AD6 #9827F5 #B462F8 #D09DFB #ECD7FD

Accessibility & contrast

On white

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

On black

6.04
#B462F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462F8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462F8#FFFFFF#000000##000000
##B462F81.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1187FD
Deuteranopia (green-blind)
#458AF5
Tritanopia (blue-blind)
#A980A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b462f8;
/* rgb */ color: rgb(180, 98, 248);
/* oklch */ color: oklch(65.7% 0.219 306.5);
Tailwind
colors: {
  custom: {
    50: '#ce93fb',
    500: '#b462f8',
    950: '#000000',
  },
}
SCSS
$custom: #b462f8;
$custom-light: #ce93fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b462f8",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 272.8,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65724,
    "c": 0.21934,
    "h": 306.5
  },
  "luminance": 0.25216
}

Semantic roles & 50–950 ramp

primary
#B462F8
secondary
#D9F2C4
accent
#E60068
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B462F8

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

Preview Lab → · Contrast checker → · Palette generator →

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