#B46CEA#B46CEA

#B46CEA is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.3% C 0.190 H 308.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B46CEA
RGBrgb(180, 108, 234)
HSLhsl(274, 75%, 67%)
HSVhsv(274, 54%, 92%)
CMYKcmyk(23.1%, 53.8%, 0%, 8.2%)
CIE-LABlab(58.39, 51.02, -52.86)
CIE-LCHlch(58.39, 73.47, 313.98°)
OKLaboklab(66.27% 0.118 -0.1484)
OKLCHoklch(66.27% 0.19 308.5)
XYZxyz(39.0333, 26.3695, 80.8595)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B46CEA #A2EA6C
analogous
#756CEA #B46CEA #EA6CE1
triadic
#B46CEA #EAB46C #6CEAB4
tetradic
#B46CEA #EA756C #A2EA6C #6CE1EA
square
#B46CEA #EA756C #A2EA6C #6CE1EA
split-complementary
#B46CEA #E1EA6C #6CEA75
monochromatic
#7A1BC0 #9936E2 #B46CEA #CFA2F2 #EBD7F9

Accessibility & contrast

On white

3.35
#B46CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#B46CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B46CEA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B46CEA#FFFFFF#000000##000000
##B46CEA1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4589EE
Deuteranopia (green-blind)
#5D8DE7
Tritanopia (blue-blind)
#AC83A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b46cea;
/* rgb */ color: rgb(180, 108, 234);
/* oklch */ color: oklch(66.3% 0.190 308.5);
Tailwind
colors: {
  custom: {
    50: '#cd98f1',
    500: '#b46cea',
    950: '#000000',
  },
}
SCSS
$custom: #b46cea;
$custom-light: #cd98f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b46cea",
  "rgb": {
    "r": 180,
    "g": 108,
    "b": 234
  },
  "hsl": {
    "h": 274.286,
    "s": 75,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66272,
    "c": 0.18959,
    "h": 308.5
  },
  "luminance": 0.26369
}

Semantic roles & 50–950 ramp

primary
#B46CEA
secondary
#D6EDC5
accent
#D70E64
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B46CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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