#B462FB#B462FB

#B462FB is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.9% C 0.223 H 305.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B462FB
RGBrgb(180, 98, 251)
HSLhsl(272, 95%, 68%)
HSVhsv(272, 61%, 98%)
CMYKcmyk(28.3%, 61%, 0%, 1.6%)
CIE-LABlab(57.47, 59.89, -63.78)
CIE-LCHlch(57.47, 87.49, 313.20°)
OKLaboklab(65.91% 0.1303 -0.1804)
OKLCHoklch(65.91% 0.223 305.8)
XYZxyz(40.5989, 25.4040, 94.0127)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462FB #A9FB62
analogous
#6762FB #B462FB #FB62F5
triadic
#B462FB #FBB462 #62FBB4
tetradic
#B462FB #FB6762 #A9FB62 #62F5FB
square
#B462FB #FB6762 #A9FB62 #62F5FB
split-complementary
#B462FB #F5FB62 #62FB67
monochromatic
#7906DD #9726F9 #B462FB #D19EFD #EDD9FE

Accessibility & contrast

On white

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

On black

6.08
#B462FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462FB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462FB#FFFFFF#000000##000000
##B462FB1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0187FF
Deuteranopia (green-blind)
#418AF8
Tritanopia (blue-blind)
#A881A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b462fb;
/* rgb */ color: rgb(180, 98, 251);
/* oklch */ color: oklch(65.9% 0.223 305.8);
Tailwind
colors: {
  custom: {
    50: '#cf93fd',
    500: '#b462fb',
    950: '#000000',
  },
}
SCSS
$custom: #b462fb;
$custom-light: #cf93fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b462fb",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 272.157,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65914,
    "c": 0.22252,
    "h": 305.8
  },
  "luminance": 0.25404
}

Semantic roles & 50–950 ramp

primary
#B462FB
secondary
#DBF3C5
accent
#E6006A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B462FB

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

Preview Lab → · Contrast checker → · Palette generator →

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