#B46FEA#B46FEA

#B46FEA is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.7% C 0.185 H 308.1°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B46FEA
RGBrgb(180, 111, 234)
HSLhsl(274, 75%, 68%)
HSVhsv(274, 53%, 92%)
CMYKcmyk(23.1%, 52.6%, 0%, 8.2%)
CIE-LABlab(58.99, 49.45, -51.91)
CIE-LCHlch(58.99, 71.69, 313.61°)
OKLaboklab(66.71% 0.1141 -0.1456)
OKLCHoklch(66.71% 0.185 308.1)
XYZxyz(39.3552, 27.0132, 80.9668)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B46FEA #A5EA6F
analogous
#776FEA #B46FEA #EA6FE2
triadic
#B46FEA #EAB46F #6FEAB4
tetradic
#B46FEA #EA776F #A5EA6F #6FE2EA
square
#B46FEA #EA776F #A5EA6F #6FE2EA
split-complementary
#B46FEA #E2EA6F #6FEA77
monochromatic
#791CC2 #983AE2 #B46FEA #D0A4F2 #ECDAFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B46FEA#FFFFFF#000000##000000
##B46FEA1.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)
#4A8BEE
Deuteranopia (green-blind)
#608FE7
Tritanopia (blue-blind)
#AC85A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b46fea;
/* rgb */ color: rgb(180, 111, 234);
/* oklch */ color: oklch(66.7% 0.185 308.1);
Tailwind
colors: {
  custom: {
    50: '#cd9af1',
    500: '#b46fea',
    950: '#000000',
  },
}
SCSS
$custom: #b46fea;
$custom-light: #cd9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#b46fea",
  "rgb": {
    "r": 180,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 273.659,
    "s": 74.545,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66714,
    "c": 0.18501,
    "h": 308.1
  },
  "luminance": 0.27013
}

Semantic roles & 50–950 ramp

primary
#B46FEA
secondary
#D8EDC7
accent
#D70F67
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B46FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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