#B66AEF#B66AEF

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

Color values

HEX#B66AEF
RGBrgb(182, 106, 239)
HSLhsl(274, 81%, 68%)
HSVhsv(274, 56%, 94%)
CMYKcmyk(23.8%, 55.6%, 0%, 6.3%)
CIE-LABlab(58.50, 53.66, -55.46)
CIE-LCHlch(58.50, 77.17, 314.06°)
OKLaboklab(66.49% 0.1232 -0.156)
OKLCHoklch(66.49% 0.199 308.3)
XYZxyz(40.0223, 26.4857, 84.6485)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66AEF #A3EF6A
analogous
#746AEF #B66AEF #EF6AE5
triadic
#B66AEF #EFB66A #6AEFB6
tetradic
#B66AEF #EF746A #A3EF6A #6AE5EF
square
#B66AEF #EF746A #A3EF6A #6AE5EF
split-complementary
#B66AEF #E5EF6A #6AEF74
monochromatic
#7C16C9 #9B33E9 #B66AEF #D1A1F5 #ECD9FB

Accessibility & contrast

On white

3.33
#B66AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B66AEF#FFFFFF#000000##000000
##B66AEF1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8AF3
Deuteranopia (green-blind)
#598EEC
Tritanopia (blue-blind)
#AE82A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b66aef;
/* rgb */ color: rgb(182, 106, 239);
/* oklch */ color: oklch(66.5% 0.199 308.3);
Tailwind
colors: {
  custom: {
    50: '#cf97f5',
    500: '#b66aef',
    950: '#000000',
  },
}
SCSS
$custom: #b66aef;
$custom-light: #cf97f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b66aef",
  "rgb": {
    "r": 182,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 274.286,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66491,
    "c": 0.19874,
    "h": 308.3
  },
  "luminance": 0.26485
}

Semantic roles & 50–950 ramp

primary
#B66AEF
secondary
#D7EFC6
accent
#DD0964
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B66AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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