#B66BEB#B66BEB

#B66BEB is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.4% C 0.193 H 309.1°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B66BEB
RGBrgb(182, 107, 235)
HSLhsl(275, 76%, 67%)
HSVhsv(275, 54%, 92%)
CMYKcmyk(22.6%, 54.5%, 0%, 7.8%)
CIE-LABlab(58.47, 52.26, -53.27)
CIE-LCHlch(58.47, 74.63, 314.45°)
OKLaboklab(66.4% 0.1218 -0.1496)
OKLCHoklch(66.4% 0.193 309.1)
XYZxyz(39.5416, 26.4593, 81.6053)
Luminance0.2646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66BEB #A0EB6B
analogous
#766BEB #B66BEB #EB6BE0
triadic
#B66BEB #EBB66B #6BEBB6
tetradic
#B66BEB #EB766B #A0EB6B #6BE0EB
square
#B66BEB #EB766B #A0EB6B #6BE0EB
split-complementary
#B66BEB #E0EB6B #6BEB76
monochromatic
#7C1AC1 #9B35E4 #B66BEB #D1A1F2 #EBD7FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B66BEB#FFFFFF#000000##000000
##B66BEB1.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)
#4389EF
Deuteranopia (green-blind)
#5D8EE8
Tritanopia (blue-blind)
#AF82A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b66beb;
/* rgb */ color: rgb(182, 107, 235);
/* oklch */ color: oklch(66.4% 0.193 309.1);
Tailwind
colors: {
  custom: {
    50: '#cf98f2',
    500: '#b66beb',
    950: '#000000',
  },
}
SCSS
$custom: #b66beb;
$custom-light: #cf98f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b66beb",
  "rgb": {
    "r": 182,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 275.156,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66402,
    "c": 0.19286,
    "h": 309.1
  },
  "luminance": 0.26459
}

Semantic roles & 50–950 ramp

primary
#B66BEB
secondary
#D5EDC5
accent
#D80D61
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B66BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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