#B66BE7#B66BE7

#B66BE7 is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.2% C 0.188 H 310.2°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B66BE7
RGBrgb(182, 107, 231)
HSLhsl(276, 72%, 66%)
HSVhsv(276, 54%, 91%)
CMYKcmyk(21.2%, 53.7%, 0%, 9.4%)
CIE-LABlab(58.26, 51.38, -51.38)
CIE-LCHlch(58.26, 72.67, 315.00°)
OKLaboklab(66.17% 0.1215 -0.144)
OKLCHoklch(66.17% 0.188 310.2)
XYZxyz(38.9702, 26.2307, 78.5959)
Luminance0.2623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66BE7 #9CE76B
analogous
#786BE7 #B66BE7 #E76BDA
triadic
#B66BE7 #E7B66B #6BE7B6
tetradic
#B66BE7 #E7786B #9CE76B #6BDAE7
square
#B66BE7 #E7786B #9CE76B #6BDAE7
split-complementary
#B66BE7 #DAE76B #6BE778
monochromatic
#7C1EBA #9C36DE #B66BE7 #D0A0F0 #EAD4F8

Accessibility & contrast

On white

3.36
#B66BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#B66BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B66BE7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B66BE7#FFFFFF#000000##000000
##B66BE71.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4789EB
Deuteranopia (green-blind)
#608DE4
Tritanopia (blue-blind)
#B0819F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b66be7;
/* rgb */ color: rgb(182, 107, 231);
/* oklch */ color: oklch(66.2% 0.188 310.2);
Tailwind
colors: {
  custom: {
    50: '#cf98ef',
    500: '#b66be7',
    950: '#000000',
  },
}
SCSS
$custom: #b66be7;
$custom-light: #cf98ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b66be7",
  "rgb": {
    "r": 182,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 276.29,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66174,
    "c": 0.18846,
    "h": 310.2
  },
  "luminance": 0.2623
}

Semantic roles & 50–950 ramp

primary
#B66BE7
secondary
#D3EBC3
accent
#D4115E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B66BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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