#B46AFE#B46AFE

#B46AFE is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.2% C 0.215 H 304.3°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B46AFE
RGBrgb(180, 106, 254)
HSLhsl(270, 99%, 71%)
HSVhsv(270, 58%, 100%)
CMYKcmyk(29.1%, 58.3%, 0%, 0.4%)
CIE-LABlab(59.13, 56.59, -62.77)
CIE-LCHlch(59.13, 84.51, 312.04°)
OKLaboklab(67.18% 0.1209 -0.1774)
OKLCHoklch(67.18% 0.215 304.3)
XYZxyz(41.8619, 27.1673, 96.7852)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B46AFE #B4FE6A
analogous
#6A6AFE #B46AFE #FE6AFE
triadic
#B46AFE #FEB46A #6AFEB4
tetradic
#B46AFE #FE6A6A #B4FE6A #6AFEFE
square
#B46AFE #FE6A6A #B4FE6A #6AFEFE
split-complementary
#B46AFE #FEFE6A #6AFE6A
monochromatic
#7702EC #952DFE #B46AFE #D3A7FE #F0E1FF

Accessibility & contrast

On white

3.26
#B46AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#B46AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B46AFE
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B46AFE#FFFFFF#000000##000000
##B46AFE1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#258CFF
Deuteranopia (green-blind)
#498EFB
Tritanopia (blue-blind)
#A788AA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b46afe;
/* rgb */ color: rgb(180, 106, 254);
/* oklch */ color: oklch(67.2% 0.215 304.3);
Tailwind
colors: {
  custom: {
    50: '#ce98ff',
    500: '#b46afe',
    950: '#000000',
  },
}
SCSS
$custom: #b46afe;
$custom-light: #ce98ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b46afe",
  "rgb": {
    "r": 180,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 270,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67181,
    "c": 0.21471,
    "h": 304.3
  },
  "luminance": 0.27167
}

Semantic roles & 50–950 ramp

primary
#B46AFE
secondary
#E2F6CE
accent
#E60073
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B46AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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