#B462F5#B462F5

#B462F5 is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.5% C 0.216 H 307.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B462F5
RGBrgb(180, 98, 245)
HSLhsl(273, 88%, 67%)
HSVhsv(273, 60%, 96%)
CMYKcmyk(26.5%, 60%, 0%, 3.9%)
CIE-LABlab(57.11, 58.54, -61.03)
CIE-LCHlch(57.11, 84.57, 313.81°)
OKLaboklab(65.54% 0.1305 -0.1723)
OKLCHoklch(65.54% 0.216 307.1)
XYZxyz(39.6681, 25.0317, 89.1104)
Luminance0.2503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462F5 #A3F562
analogous
#6A62F5 #B462F5 #F562ED
triadic
#B462F5 #F5B462 #62F5B4
tetradic
#B462F5 #F56A62 #A3F562 #62EDF5
square
#B462F5 #F56A62 #A3F562 #62EDF5
split-complementary
#B462F5 #EDF562 #62F56A
monochromatic
#7A0DCF #9928F1 #B462F5 #CF9CF9 #EBD5FC

Accessibility & contrast

On white

3.50
#B462F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#B462F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462F5
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462F5#FFFFFF#000000##000000
##B462F51.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B86FA
Deuteranopia (green-blind)
#488AF2
Tritanopia (blue-blind)
#AA7FA3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b462f5;
/* rgb */ color: rgb(180, 98, 245);
/* oklch */ color: oklch(65.5% 0.216 307.1);
Tailwind
colors: {
  custom: {
    50: '#ce92f9',
    500: '#b462f5',
    950: '#000000',
  },
}
SCSS
$custom: #b462f5;
$custom-light: #ce92f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b462f5",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 273.469,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65536,
    "c": 0.21615,
    "h": 307.1
  },
  "luminance": 0.25031
}

Semantic roles & 50–950 ramp

primary
#B462F5
secondary
#D7F1C2
accent
#E50166
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B462F5

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

Preview Lab → · Contrast checker → · Palette generator →

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