#B46FEC#B46FEC

#B46FEC is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.8% C 0.187 H 307.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B46FEC
RGBrgb(180, 111, 236)
HSLhsl(273, 77%, 68%)
HSVhsv(273, 53%, 93%)
CMYKcmyk(23.7%, 53%, 0%, 7.5%)
CIE-LABlab(59.09, 49.90, -52.85)
CIE-LCHlch(59.09, 72.69, 313.36°)
OKLaboklab(66.83% 0.1142 -0.1484)
OKLCHoklch(66.83% 0.187 307.6)
XYZxyz(39.6441, 27.1288, 82.4885)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B46FEC #A7EC6F
analogous
#756FEC #B46FEC #EC6FE5
triadic
#B46FEC #ECB46F #6FECB4
tetradic
#B46FEC #EC756F #A7EC6F #6FE5EC
square
#B46FEC #EC756F #A7EC6F #6FE5EC
split-complementary
#B46FEC #E5EC6F #6FEC75
monochromatic
#791AC6 #9839E5 #B46FEC #D0A5F3 #ECDBFA

Accessibility & contrast

On white

3.27
#B46FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#B46FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B46FEC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B46FEC#FFFFFF#000000##000000
##B46FEC1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#488CF0
Deuteranopia (green-blind)
#5F8FE9
Tritanopia (blue-blind)
#AC85A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b46fec;
/* rgb */ color: rgb(180, 111, 236);
/* oklch */ color: oklch(66.8% 0.187 307.6);
Tailwind
colors: {
  custom: {
    50: '#cd9af3',
    500: '#b46fec',
    950: '#000000',
  },
}
SCSS
$custom: #b46fec;
$custom-light: #cd9af3;
$custom-dark: #000000;
JSON
{
  "hex": "#b46fec",
  "rgb": {
    "r": 180,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 273.12,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66828,
    "c": 0.18727,
    "h": 307.6
  },
  "luminance": 0.27128
}

Semantic roles & 50–950 ramp

primary
#B46FEC
secondary
#D9EFC8
accent
#D90D68
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B46FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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