#B46FEB#B46FEB

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

Color values

HEX#B46FEB
RGBrgb(180, 111, 235)
HSLhsl(273, 76%, 68%)
HSVhsv(273, 53%, 92%)
CMYKcmyk(23.4%, 52.8%, 0%, 7.8%)
CIE-LABlab(59.04, 49.68, -52.38)
CIE-LCHlch(59.04, 72.19, 313.48°)
OKLaboklab(66.77% 0.1142 -0.147)
OKLCHoklch(66.77% 0.186 307.8)
XYZxyz(39.4992, 27.0708, 81.7255)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B46FEB #A6EB6F
analogous
#766FEB #B46FEB #EB6FE4
triadic
#B46FEB #EBB46F #6FEBB4
tetradic
#B46FEB #EB766F #A6EB6F #6FE4EB
square
#B46FEB #EB766F #A6EB6F #6FE4EB
split-complementary
#B46FEB #E4EB6F #6FEB76
monochromatic
#791BC4 #9839E4 #B46FEB #D0A5F2 #ECDAFA

Accessibility & contrast

On white

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

On black

6.41
#B46FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B46FEB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B46FEB#FFFFFF#000000##000000
##B46FEB1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEF
Deuteranopia (green-blind)
#5F8FE8
Tritanopia (blue-blind)
#AC85A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b46feb;
/* rgb */ color: rgb(180, 111, 235);
/* oklch */ color: oklch(66.8% 0.186 307.8);
Tailwind
colors: {
  custom: {
    50: '#cd9af2',
    500: '#b46feb',
    950: '#000000',
  },
}
SCSS
$custom: #b46feb;
$custom-light: #cd9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#b46feb",
  "rgb": {
    "r": 180,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 273.387,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66771,
    "c": 0.18614,
    "h": 307.8
  },
  "luminance": 0.2707
}

Semantic roles & 50–950 ramp

primary
#B46FEB
secondary
#D9EEC8
accent
#D80E67
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B46FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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