#B462FA#B462FA

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

Color values

HEX#B462FA
RGBrgb(180, 98, 250)
HSLhsl(272, 94%, 68%)
HSVhsv(272, 61%, 98%)
CMYKcmyk(28%, 60.8%, 0%, 2%)
CIE-LABlab(57.41, 59.66, -63.32)
CIE-LCHlch(57.41, 87.00, 313.30°)
OKLaboklab(65.85% 0.1304 -0.179)
OKLCHoklch(65.85% 0.221 306.1)
XYZxyz(40.4417, 25.3411, 93.1848)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462FA #A8FA62
analogous
#6862FA #B462FA #FA62F4
triadic
#B462FA #FAB462 #62FAB4
tetradic
#B462FA #FA6862 #A8FA62 #62F4FA
square
#B462FA #FA6862 #A8FA62 #62F4FA
split-complementary
#B462FA #F4FA62 #62FA68
monochromatic
#7907DB #9827F8 #B462FA #D09DFC #EDD9FE

Accessibility & contrast

On white

3.46
#B462FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#B462FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462FA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462FA#FFFFFF#000000##000000
##B462FA1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0787FF
Deuteranopia (green-blind)
#428AF7
Tritanopia (blue-blind)
#A881A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b462fa;
/* rgb */ color: rgb(180, 98, 250);
/* oklch */ color: oklch(65.8% 0.221 306.1);
Tailwind
colors: {
  custom: {
    50: '#cf93fd',
    500: '#b462fa',
    950: '#000000',
  },
}
SCSS
$custom: #b462fa;
$custom-light: #cf93fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b462fa",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 272.368,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6585,
    "c": 0.22146,
    "h": 306.1
  },
  "luminance": 0.25341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B462FA

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

Preview Lab → · Contrast checker → · Palette generator →

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