#B462F7#B462F7

#B462F7 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.7% C 0.218 H 306.7°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B462F7
RGBrgb(180, 98, 247)
HSLhsl(273, 90%, 68%)
HSVhsv(273, 60%, 97%)
CMYKcmyk(27.1%, 60.3%, 0%, 3.1%)
CIE-LABlab(57.23, 58.99, -61.95)
CIE-LCHlch(57.23, 85.54, 313.60°)
OKLaboklab(65.66% 0.1305 -0.175)
OKLCHoklch(65.66% 0.218 306.7)
XYZxyz(39.9750, 25.1545, 90.7270)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B462F7 #A5F762
analogous
#6962F7 #B462F7 #F762F0
triadic
#B462F7 #F7B462 #62F7B4
tetradic
#B462F7 #F76962 #A5F762 #62F0F7
square
#B462F7 #F76962 #A5F762 #62F0F7
split-complementary
#B462F7 #F0F762 #62F769
monochromatic
#790BD4 #9828F4 #B462F7 #D09CFA #ECD6FD

Accessibility & contrast

On white

3.48
#B462F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#B462F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B462F7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B462F7#FFFFFF#000000##000000
##B462F71.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1587FC
Deuteranopia (green-blind)
#468AF4
Tritanopia (blue-blind)
#A980A4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b462f7;
/* rgb */ color: rgb(180, 98, 247);
/* oklch */ color: oklch(65.7% 0.218 306.7);
Tailwind
colors: {
  custom: {
    50: '#ce92fb',
    500: '#b462f7',
    950: '#000000',
  },
}
SCSS
$custom: #b462f7;
$custom-light: #ce92fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b462f7",
  "rgb": {
    "r": 180,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 273.02,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65661,
    "c": 0.21827,
    "h": 306.7
  },
  "luminance": 0.25154
}

Semantic roles & 50–950 ramp

primary
#B462F7
secondary
#D8F2C3
accent
#E60067
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B462F7

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

Preview Lab → · Contrast checker → · Palette generator →

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