#B462F1#B462F1

#B462F1 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.3% C 0.212 H 308.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B462F1
RGBrgb(180, 98, 241)
HSLhsl(274, 84%, 66%)
HSVhsv(274, 59%, 95%)
CMYKcmyk(25.3%, 59.3%, 0%, 5.5%)
CIE-LABlab(56.87, 57.65, -59.18)
CIE-LCHlch(56.87, 82.62, 314.25°)
OKLaboklab(65.29% 0.1306 -0.1669)
OKLCHoklch(65.29% 0.212 308)
XYZxyz(39.0640, 24.7901, 85.9291)
Luminance0.2479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462F1 #9FF162
analogous
#6D62F1 #B462F1 #F162E6
triadic
#B462F1 #F1B462 #62F1B4
tetradic
#B462F1 #F16D62 #9FF162 #62E6F1
square
#B462F1 #F16D62 #9FF162 #62E6F1
split-complementary
#B462F1 #E6F162 #62F16D
monochromatic
#7A12C7 #992AEC #B462F1 #CF9AF6 #EAD2FB

Accessibility & contrast

On white

3.52
#B462F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#B462F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462F1
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462F1#FFFFFF#000000##000000
##B462F11.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2485F6
Deuteranopia (green-blind)
#4C89EE
Tritanopia (blue-blind)
#AB7EA0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b462f1;
/* rgb */ color: rgb(180, 98, 241);
/* oklch */ color: oklch(65.3% 0.212 308.0);
Tailwind
colors: {
  custom: {
    50: '#ce92f6',
    500: '#b462f1',
    950: '#000000',
  },
}
SCSS
$custom: #b462f1;
$custom-light: #ce92f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b462f1",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 241
  },
  "hsl": {
    "h": 274.406,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65289,
    "c": 0.21189,
    "h": 308
  },
  "luminance": 0.2479
}

Semantic roles & 50–950 ramp

primary
#B462F1
secondary
#D4EFC0
accent
#E00563
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B462F1

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

Preview Lab → · Contrast checker → · Palette generator →

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