#B46CEC#B46CEC

#B46CEC is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.4% C 0.192 H 308.0°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B46CEC
RGBrgb(180, 108, 236)
HSLhsl(274, 77%, 67%)
HSVhsv(274, 54%, 93%)
CMYKcmyk(23.7%, 54.2%, 0%, 7.5%)
CIE-LABlab(58.49, 51.47, -53.80)
CIE-LCHlch(58.49, 74.46, 313.73°)
OKLaboklab(66.39% 0.1181 -0.1512)
OKLCHoklch(66.39% 0.192 308)
XYZxyz(39.3222, 26.4851, 82.3812)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B46CEC #A4EC6C
analogous
#746CEC #B46CEC #EC6CE4
triadic
#B46CEC #ECB46C #6CECB4
tetradic
#B46CEC #EC746C #A4EC6C #6CE4EC
square
#B46CEC #EC746C #A4EC6C #6CE4EC
split-complementary
#B46CEC #E4EC6C #6CEC74
monochromatic
#7919C4 #9836E5 #B46CEC #D0A2F3 #EBD8FA

Accessibility & contrast

On white

3.33
#B46CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#B46CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B46CEC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B46CEC#FFFFFF#000000##000000
##B46CEC1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#438AF0
Deuteranopia (green-blind)
#5B8EE9
Tritanopia (blue-blind)
#AC83A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b46cec;
/* rgb */ color: rgb(180, 108, 236);
/* oklch */ color: oklch(66.4% 0.192 308.0);
Tailwind
colors: {
  custom: {
    50: '#cd99f3',
    500: '#b46cec',
    950: '#000000',
  },
}
SCSS
$custom: #b46cec;
$custom-light: #cd99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b46cec",
  "rgb": {
    "r": 180,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 273.75,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66387,
    "c": 0.19183,
    "h": 308
  },
  "luminance": 0.26485
}

Semantic roles & 50–950 ramp

primary
#B46CEC
secondary
#D7EEC6
accent
#D90C66
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B46CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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