#B46AFB#B46AFB

#B46AFB is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 67.0% C 0.211 H 304.9°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B46AFB
RGBrgb(180, 106, 251)
HSLhsl(271, 95%, 70%)
HSVhsv(271, 58%, 98%)
CMYKcmyk(28.3%, 57.8%, 0%, 1.6%)
CIE-LABlab(58.95, 55.90, -61.39)
CIE-LCHlch(58.95, 83.03, 312.32°)
OKLaboklab(67% 0.1209 -0.1734)
OKLCHoklch(67% 0.211 304.9)
XYZxyz(41.3852, 26.9766, 94.2748)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B46AFB #B1FB6A
analogous
#6C6AFB #B46AFB #FB6AF9
triadic
#B46AFB #FBB46A #6AFBB4
tetradic
#B46AFB #FB6C6A #B1FB6A #6AF9FB
square
#B46AFB #FB6C6A #B1FB6A #6AF9FB
split-complementary
#B46AFB #F9FB6A #6AFB6C
monochromatic
#7806E4 #962EF9 #B46AFB #D2A6FD #F0E1FE

Accessibility & contrast

On white

3.28
#B46AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#B46AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B46AFB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B46AFB#FFFFFF#000000##000000
##B46AFB1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8CFF
Deuteranopia (green-blind)
#4C8EF8
Tritanopia (blue-blind)
#A887A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b46afb;
/* rgb */ color: rgb(180, 106, 251);
/* oklch */ color: oklch(67.0% 0.211 304.9);
Tailwind
colors: {
  custom: {
    50: '#ce98fd',
    500: '#b46afb',
    950: '#000000',
  },
}
SCSS
$custom: #b46afb;
$custom-light: #ce98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b46afb",
  "rgb": {
    "r": 180,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 270.621,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.66995,
    "c": 0.2114,
    "h": 304.9
  },
  "luminance": 0.26976
}

Semantic roles & 50–950 ramp

primary
#B46AFB
secondary
#E0F5CC
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B46AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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