#B66DE4#B66DE4

#B66DE4 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.3% C 0.182 H 310.7°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B66DE4
RGBrgb(182, 109, 228)
HSLhsl(277, 69%, 66%)
HSVhsv(277, 52%, 89%)
CMYKcmyk(20.2%, 52.2%, 0%, 10.6%)
CIE-LABlab(58.49, 49.69, -49.33)
CIE-LCHlch(58.49, 70.02, 315.21°)
OKLaboklab(66.3% 0.1187 -0.138)
OKLCHoklch(66.3% 0.182 310.7)
XYZxyz(38.7611, 26.4845, 76.4539)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66DE4 #9BE46D
analogous
#7A6DE4 #B66DE4 #E46DD6
triadic
#B66DE4 #E4B66D #6DE4B6
tetradic
#B66DE4 #E47A6D #9BE46D #6DD6E4
square
#B66DE4 #E47A6D #9BE46D #6DD6E4
split-complementary
#B66DE4 #D6E46D #6DE47A
monochromatic
#7C21B5 #9C39DA #B66DE4 #D0A1EE #EAD4F7

Accessibility & contrast

On white

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

On black

6.30
#B66DE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B66DE4
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B66DE4#FFFFFF#000000##000000
##B66DE41.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D89E8
Deuteranopia (green-blind)
#648EE1
Tritanopia (blue-blind)
#B0819E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b66de4;
/* rgb */ color: rgb(182, 109, 228);
/* oklch */ color: oklch(66.3% 0.182 310.7);
Tailwind
colors: {
  custom: {
    50: '#ce99ed',
    500: '#b66de4',
    950: '#000000',
  },
}
SCSS
$custom: #b66de4;
$custom-light: #ce99ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b66de4",
  "rgb": {
    "r": 182,
    "g": 109,
    "b": 228
  },
  "hsl": {
    "h": 276.807,
    "s": 68.786,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66298,
    "c": 0.18206,
    "h": 310.7
  },
  "luminance": 0.26484
}

Semantic roles & 50–950 ramp

primary
#B66DE4
secondary
#D2EAC3
accent
#D1155D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B66DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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