#B46DEC#B46DEC

#B46DEC is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.5% C 0.190 H 307.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B46DEC
RGBrgb(180, 109, 236)
HSLhsl(274, 77%, 68%)
HSVhsv(274, 54%, 93%)
CMYKcmyk(23.7%, 53.8%, 0%, 7.5%)
CIE-LABlab(58.69, 50.95, -53.49)
CIE-LCHlch(58.69, 73.87, 313.61°)
OKLaboklab(66.53% 0.1168 -0.1503)
OKLCHoklch(66.53% 0.19 307.9)
XYZxyz(39.4283, 26.6972, 82.4166)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B46DEC #A5EC6D
analogous
#746DEC #B46DEC #EC6DE5
triadic
#B46DEC #ECB46D #6DECB4
tetradic
#B46DEC #EC746D #A5EC6D #6DE5EC
square
#B46DEC #EC746D #A5EC6D #6DE5EC
split-complementary
#B46DEC #E5EC6D #6DEC74
monochromatic
#791AC5 #9837E5 #B46DEC #D0A3F3 #ECD9FA

Accessibility & contrast

On white

3.31
#B46DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#B46DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B46DEC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B46DEC#FFFFFF#000000##000000
##B46DEC1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AF0
Deuteranopia (green-blind)
#5C8EE9
Tritanopia (blue-blind)
#AC84A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b46dec;
/* rgb */ color: rgb(180, 109, 236);
/* oklch */ color: oklch(66.5% 0.190 307.9);
Tailwind
colors: {
  custom: {
    50: '#cd99f3',
    500: '#b46dec',
    950: '#000000',
  },
}
SCSS
$custom: #b46dec;
$custom-light: #cd99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b46dec",
  "rgb": {
    "r": 180,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 273.543,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66533,
    "c": 0.19032,
    "h": 307.9
  },
  "luminance": 0.26697
}

Semantic roles & 50–950 ramp

primary
#B46DEC
secondary
#D8EEC7
accent
#D90C67
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B46DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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