#B462F0#B462F0

#B462F0 is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.2% C 0.211 H 308.3°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B462F0
RGBrgb(180, 98, 240)
HSLhsl(275, 83%, 66%)
HSVhsv(275, 59%, 94%)
CMYKcmyk(25%, 59.2%, 0%, 5.9%)
CIE-LABlab(56.81, 57.43, -58.72)
CIE-LCHlch(56.81, 82.14, 314.36°)
OKLaboklab(65.23% 0.1306 -0.1655)
OKLCHoklch(65.23% 0.211 308.3)
XYZxyz(38.9151, 24.7305, 85.1446)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462F0 #9EF062
analogous
#6D62F0 #B462F0 #F062E5
triadic
#B462F0 #F0B462 #62F0B4
tetradic
#B462F0 #F06D62 #9EF062 #62E5F0
square
#B462F0 #F06D62 #9EF062 #62E5F0
split-complementary
#B462F0 #E5F062 #62F06D
monochromatic
#7A13C5 #992AEB #B462F0 #CF9AF5 #E9D2FB

Accessibility & contrast

On white

3.53
#B462F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#B462F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462F0
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462F0#FFFFFF#000000##000000
##B462F01.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2685F5
Deuteranopia (green-blind)
#4D89ED
Tritanopia (blue-blind)
#AB7DA0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b462f0;
/* rgb */ color: rgb(180, 98, 240);
/* oklch */ color: oklch(65.2% 0.211 308.3);
Tailwind
colors: {
  custom: {
    50: '#ce92f6',
    500: '#b462f0',
    950: '#000000',
  },
}
SCSS
$custom: #b462f0;
$custom-light: #ce92f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b462f0",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 274.648,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65227,
    "c": 0.21082,
    "h": 308.3
  },
  "luminance": 0.2473
}

Semantic roles & 50–950 ramp

primary
#B462F0
secondary
#D3EEC0
accent
#DF0762
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B462F0

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

Preview Lab → · Contrast checker → · Palette generator →

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