#B66CE7#B66CE7

#B66CE7 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.3% C 0.187 H 310.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B66CE7
RGBrgb(182, 108, 231)
HSLhsl(276, 72%, 66%)
HSVhsv(276, 53%, 91%)
CMYKcmyk(21.2%, 53.2%, 0%, 9.4%)
CIE-LABlab(58.45, 50.87, -51.07)
CIE-LCHlch(58.45, 72.08, 314.89°)
OKLaboklab(66.32% 0.1202 -0.1431)
OKLCHoklch(66.32% 0.187 310)
XYZxyz(39.0751, 26.4404, 78.6309)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66CE7 #9DE76C
analogous
#796CE7 #B66CE7 #E76CDA
triadic
#B66CE7 #E7B66C #6CE7B6
tetradic
#B66CE7 #E7796C #9DE76C #6CDAE7
square
#B66CE7 #E7796C #9DE76C #6CDAE7
split-complementary
#B66CE7 #DAE76C #6CE779
monochromatic
#7C1EBA #9C37DE #B66CE7 #D0A1F0 #EAD5F8

Accessibility & contrast

On white

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

On black

6.29
#B66CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B66CE7
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B66CE7#FFFFFF#000000##000000
##B66CE71.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4889EB
Deuteranopia (green-blind)
#618EE4
Tritanopia (blue-blind)
#B0819F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b66ce7;
/* rgb */ color: rgb(182, 108, 231);
/* oklch */ color: oklch(66.3% 0.187 310.0);
Tailwind
colors: {
  custom: {
    50: '#cf99ef',
    500: '#b66ce7',
    950: '#000000',
  },
}
SCSS
$custom: #b66ce7;
$custom-light: #cf99ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b66ce7",
  "rgb": {
    "r": 182,
    "g": 108,
    "b": 231
  },
  "hsl": {
    "h": 276.098,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66319,
    "c": 0.18693,
    "h": 310
  },
  "luminance": 0.2644
}

Semantic roles & 50–950 ramp

primary
#B66CE7
secondary
#D3EBC3
accent
#D4125F
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B66CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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