#B462FC#B462FC

#B462FC is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 66.0% C 0.224 H 305.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B462FC
RGBrgb(180, 98, 252)
HSLhsl(272, 96%, 69%)
HSVhsv(272, 61%, 99%)
CMYKcmyk(28.6%, 61.1%, 0%, 1.2%)
CIE-LABlab(57.53, 60.11, -64.23)
CIE-LCHlch(57.53, 87.98, 313.10°)
OKLaboklab(65.98% 0.1303 -0.1817)
OKLCHoklch(65.98% 0.224 305.6)
XYZxyz(40.7570, 25.4672, 94.8451)
Luminance0.2547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462FC #AAFC62
analogous
#6762FC #B462FC #FC62F7
triadic
#B462FC #FCB462 #62FCB4
tetradic
#B462FC #FC6762 #AAFC62 #62F7FC
square
#B462FC #FC6762 #AAFC62 #62F7FC
split-complementary
#B462FC #F7FC62 #62FC67
monochromatic
#7904DF #9726FB #B462FC #D19EFD #EDDAFE

Accessibility & contrast

On white

3.45
#B462FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#B462FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462FC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462FC#FFFFFF#000000##000000
##B462FC1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#408AF9
Tritanopia (blue-blind)
#A882A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b462fc;
/* rgb */ color: rgb(180, 98, 252);
/* oklch */ color: oklch(66.0% 0.224 305.6);
Tailwind
colors: {
  custom: {
    50: '#cf93fe',
    500: '#b462fc',
    950: '#000000',
  },
}
SCSS
$custom: #b462fc;
$custom-light: #cf93fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b462fc",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 271.948,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65977,
    "c": 0.22359,
    "h": 305.6
  },
  "luminance": 0.25467
}

Semantic roles & 50–950 ramp

primary
#B462FC
secondary
#DBF4C6
accent
#E6006B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B462FC

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

Preview Lab → · Contrast checker → · Palette generator →

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