#B66FEB#B66FEB

#B66FEB is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.0% C 0.187 H 308.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B66FEB
RGBrgb(182, 111, 235)
HSLhsl(274, 76%, 68%)
HSVhsv(274, 53%, 92%)
CMYKcmyk(22.6%, 52.8%, 0%, 7.8%)
CIE-LABlab(59.26, 50.19, -52.01)
CIE-LCHlch(59.26, 72.28, 313.98°)
OKLaboklab(66.99% 0.1166 -0.1459)
OKLCHoklch(66.99% 0.187 308.6)
XYZxyz(39.9683, 27.3127, 81.7475)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66FEB #A4EB6F
analogous
#786FEB #B66FEB #EB6FE2
triadic
#B66FEB #EBB66F #6FEBB6
tetradic
#B66FEB #EB786F #A4EB6F #6FE2EB
square
#B66FEB #EB786F #A4EB6F #6FE2EB
split-complementary
#B66FEB #E2EB6F #6FEB78
monochromatic
#7C1BC4 #9B39E4 #B66FEB #D1A5F2 #ECDAFA

Accessibility & contrast

On white

3.25
#B66FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#B66FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B66FEB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B66FEB#FFFFFF#000000##000000
##B66FEB1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CEF
Deuteranopia (green-blind)
#6190E8
Tritanopia (blue-blind)
#AF85A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b66feb;
/* rgb */ color: rgb(182, 111, 235);
/* oklch */ color: oklch(67.0% 0.187 308.6);
Tailwind
colors: {
  custom: {
    50: '#cf9bf2',
    500: '#b66feb',
    950: '#000000',
  },
}
SCSS
$custom: #b66feb;
$custom-light: #cf9bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b66feb",
  "rgb": {
    "r": 182,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 274.355,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66985,
    "c": 0.18677,
    "h": 308.6
  },
  "luminance": 0.27312
}

Semantic roles & 50–950 ramp

primary
#B66FEB
secondary
#D8EEC8
accent
#D80E64
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B66FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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