#B462FD#B462FD

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

Color values

HEX#B462FD
RGBrgb(180, 98, 253)
HSLhsl(272, 97%, 69%)
HSVhsv(272, 61%, 99%)
CMYKcmyk(28.9%, 61.3%, 0%, 0.8%)
CIE-LABlab(57.59, 60.34, -64.69)
CIE-LCHlch(57.59, 88.46, 313.01°)
OKLaboklab(66.04% 0.1302 -0.183)
OKLCHoklch(66.04% 0.225 305.4)
XYZxyz(40.9158, 25.5308, 95.6819)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462FD #ABFD62
analogous
#6762FD #B462FD #FD62F8
triadic
#B462FD #FDB462 #62FDB4
tetradic
#B462FD #FD6762 #ABFD62 #62F8FD
square
#B462FD #FD6762 #ABFD62 #62F8FD
split-complementary
#B462FD #F8FD62 #62FD67
monochromatic
#7903E2 #9726FC #B462FD #D19EFE #EEDBFF

Accessibility & contrast

On white

3.44
#B462FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#B462FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462FD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462FD#FFFFFF#000000##000000
##B462FD1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#3E8BF9
Tritanopia (blue-blind)
#A782A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b462fd;
/* rgb */ color: rgb(180, 98, 253);
/* oklch */ color: oklch(66.0% 0.225 305.4);
Tailwind
colors: {
  custom: {
    50: '#cf93ff',
    500: '#b462fd',
    950: '#000000',
  },
}
SCSS
$custom: #b462fd;
$custom-light: #cf93ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b462fd",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 271.742,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66041,
    "c": 0.22465,
    "h": 305.4
  },
  "luminance": 0.25531
}

Semantic roles & 50–950 ramp

primary
#B462FD
secondary
#DCF4C6
accent
#E6006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B462FD

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

Preview Lab → · Contrast checker → · Palette generator →

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