#B46BEB#B46BEB

#B46BEB is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.2% C 0.192 H 308.4°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B46BEB
RGBrgb(180, 107, 235)
HSLhsl(274, 76%, 67%)
HSVhsv(274, 54%, 92%)
CMYKcmyk(23.4%, 54.5%, 0%, 7.8%)
CIE-LABlab(58.24, 51.76, -53.65)
CIE-LCHlch(58.24, 74.55, 313.98°)
OKLaboklab(66.18% 0.1193 -0.1507)
OKLCHoklch(66.18% 0.192 308.4)
XYZxyz(39.0725, 26.2174, 81.5833)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B46BEB #A2EB6B
analogous
#746BEB #B46BEB #EB6BE2
triadic
#B46BEB #EBB46B #6BEBB4
tetradic
#B46BEB #EB746B #A2EB6B #6BE2EB
square
#B46BEB #EB746B #A2EB6B #6BE2EB
split-complementary
#B46BEB #E2EB6B #6BEB74
monochromatic
#7A1AC1 #9935E4 #B46BEB #CFA1F2 #EBD7FA

Accessibility & contrast

On white

3.36
#B46BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#B46BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B46BEB
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B46BEB#FFFFFF#000000##000000
##B46BEB1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4289EF
Deuteranopia (green-blind)
#5B8DE8
Tritanopia (blue-blind)
#AC82A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b46beb;
/* rgb */ color: rgb(180, 107, 235);
/* oklch */ color: oklch(66.2% 0.192 308.4);
Tailwind
colors: {
  custom: {
    50: '#cd98f2',
    500: '#b46beb',
    950: '#000000',
  },
}
SCSS
$custom: #b46beb;
$custom-light: #cd98f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b46beb",
  "rgb": {
    "r": 180,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 274.219,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66184,
    "c": 0.19223,
    "h": 308.4
  },
  "luminance": 0.26217
}

Semantic roles & 50–950 ramp

primary
#B46BEB
secondary
#D6EDC5
accent
#D80D64
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B46BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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