#B46CEB#B46CEB

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

Color values

HEX#B46CEB
RGBrgb(180, 108, 235)
HSLhsl(274, 76%, 67%)
HSVhsv(274, 54%, 92%)
CMYKcmyk(23.4%, 54%, 0%, 7.8%)
CIE-LABlab(58.44, 51.24, -53.33)
CIE-LCHlch(58.44, 73.96, 313.86°)
OKLaboklab(66.33% 0.118 -0.1498)
OKLCHoklch(66.33% 0.191 308.2)
XYZxyz(39.1774, 26.4271, 81.6182)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B46CEB #A3EB6C
analogous
#756CEB #B46CEB #EB6CE2
triadic
#B46CEB #EBB46C #6CEBB4
tetradic
#B46CEB #EB756C #A3EB6C #6CE2EB
square
#B46CEB #EB756C #A3EB6C #6CE2EB
split-complementary
#B46CEB #E2EB6C #6CEB75
monochromatic
#7A1AC2 #9936E4 #B46CEB #CFA2F2 #EBD8FA

Accessibility & contrast

On white

3.34
#B46CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#B46CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B46CEB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B46CEB#FFFFFF#000000##000000
##B46CEB1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AEF
Deuteranopia (green-blind)
#5C8DE8
Tritanopia (blue-blind)
#AC83A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b46ceb;
/* rgb */ color: rgb(180, 108, 235);
/* oklch */ color: oklch(66.3% 0.191 308.2);
Tailwind
colors: {
  custom: {
    50: '#cd99f2',
    500: '#b46ceb',
    950: '#000000',
  },
}
SCSS
$custom: #b46ceb;
$custom-light: #cd99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b46ceb",
  "rgb": {
    "r": 180,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 274.016,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66329,
    "c": 0.19071,
    "h": 308.2
  },
  "luminance": 0.26427
}

Semantic roles & 50–950 ramp

primary
#B46CEB
secondary
#D7EDC5
accent
#D80D65
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B46CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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