#B66BEC#B66BEC

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

Color values

HEX#B66BEC
RGBrgb(182, 107, 236)
HSLhsl(275, 77%, 67%)
HSVhsv(275, 55%, 93%)
CMYKcmyk(22.9%, 54.7%, 0%, 7.5%)
CIE-LABlab(58.52, 52.49, -53.74)
CIE-LCHlch(58.52, 75.12, 314.32°)
OKLaboklab(66.46% 0.1218 -0.1509)
OKLCHoklch(66.46% 0.194 308.9)
XYZxyz(39.6865, 26.5172, 82.3683)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66BEC #A1EC6B
analogous
#766BEC #B66BEC #EC6BE1
triadic
#B66BEC #ECB66B #6BECB6
tetradic
#B66BEC #EC766B #A1EC6B #6BE1EC
square
#B66BEC #EC766B #A1EC6B #6BE1EC
split-complementary
#B66BEC #E1EC6B #6BEC76
monochromatic
#7C19C4 #9B35E5 #B66BEC #D1A1F3 #ECD7FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B66BEC#FFFFFF#000000##000000
##B66BEC1.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)
#428AF0
Deuteranopia (green-blind)
#5C8EE9
Tritanopia (blue-blind)
#AF82A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b66bec;
/* rgb */ color: rgb(182, 107, 236);
/* oklch */ color: oklch(66.5% 0.194 308.9);
Tailwind
colors: {
  custom: {
    50: '#cf98f3',
    500: '#b66bec',
    950: '#000000',
  },
}
SCSS
$custom: #b66bec;
$custom-light: #cf98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b66bec",
  "rgb": {
    "r": 182,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 274.884,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66459,
    "c": 0.19395,
    "h": 308.9
  },
  "luminance": 0.26517
}

Semantic roles & 50–950 ramp

primary
#B66BEC
secondary
#D6EEC5
accent
#D90C62
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B66BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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