#B66BF1#B66BF1

#B66BF1 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.8% C 0.199 H 307.7°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B66BF1
RGBrgb(182, 107, 241)
HSLhsl(274, 83%, 68%)
HSVhsv(274, 56%, 95%)
CMYKcmyk(24.5%, 55.6%, 0%, 5.5%)
CIE-LABlab(58.80, 53.60, -56.09)
CIE-LCHlch(58.80, 77.58, 313.70°)
OKLaboklab(66.75% 0.122 -0.1578)
OKLCHoklch(66.75% 0.199 307.7)
XYZxyz(40.4231, 26.8119, 86.2477)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66BF1 #A6F16B
analogous
#736BF1 #B66BF1 #F16BE9
triadic
#B66BF1 #F1B66B #6BF1B6
tetradic
#B66BF1 #F1736B #A6F16B #6BE9F1
square
#B66BF1 #F1736B #A6F16B #6BE9F1
split-complementary
#B66BF1 #E9F16B #6BF173
monochromatic
#7C13CE #9A33EC #B66BF1 #D2A3F6 #EDDBFC

Accessibility & contrast

On white

3.30
#B66BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#B66BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B66BF1
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B66BF1#FFFFFF#000000##000000
##B66BF11.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8BF5
Deuteranopia (green-blind)
#588EEE
Tritanopia (blue-blind)
#AD84A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b66bf1;
/* rgb */ color: rgb(182, 107, 241);
/* oklch */ color: oklch(66.8% 0.199 307.7);
Tailwind
colors: {
  custom: {
    50: '#cf98f6',
    500: '#b66bf1',
    950: '#000000',
  },
}
SCSS
$custom: #b66bf1;
$custom-light: #cf98f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b66bf1",
  "rgb": {
    "r": 182,
    "g": 107,
    "b": 241
  },
  "hsl": {
    "h": 273.582,
    "s": 82.716,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6675,
    "c": 0.19946,
    "h": 307.7
  },
  "luminance": 0.26811
}

Semantic roles & 50–950 ramp

primary
#B66BF1
secondary
#D9F0C8
accent
#DF0666
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B66BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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