#B666F2#B666F2

#B666F2 is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.1% C 0.208 H 308.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B666F2
RGBrgb(182, 102, 242)
HSLhsl(274, 84%, 67%)
HSVhsv(274, 58%, 95%)
CMYKcmyk(24.8%, 57.9%, 0%, 5.1%)
CIE-LABlab(57.90, 56.35, -58.07)
CIE-LCHlch(57.90, 80.92, 314.14°)
OKLaboklab(66.11% 0.1282 -0.1636)
OKLCHoklch(66.11% 0.208 308.1)
XYZxyz(40.0666, 25.8592, 86.8678)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B666F2 #A2F266
analogous
#7066F2 #B666F2 #F266E8
triadic
#B666F2 #F2B666 #66F2B6
tetradic
#B666F2 #F27066 #A2F266 #66E8F2
square
#B666F2 #F27066 #A2F266 #66E8F2
split-complementary
#B666F2 #E8F266 #66F270
monochromatic
#7C11CC #9B2EED #B666F2 #D19EF7 #ECD7FC

Accessibility & contrast

On white

3.40
#B666F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#B666F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B666F2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B666F2#FFFFFF#000000##000000
##B666F21.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3088F7
Deuteranopia (green-blind)
#528CEF
Tritanopia (blue-blind)
#AD81A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b666f2;
/* rgb */ color: rgb(182, 102, 242);
/* oklch */ color: oklch(66.1% 0.208 308.1);
Tailwind
colors: {
  custom: {
    50: '#cf95f7',
    500: '#b666f2',
    950: '#000000',
  },
}
SCSS
$custom: #b666f2;
$custom-light: #cf95f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b666f2",
  "rgb": {
    "r": 182,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 274.286,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66112,
    "c": 0.20784,
    "h": 308.1
  },
  "luminance": 0.25859
}

Semantic roles & 50–950 ramp

primary
#B666F2
secondary
#D7F0C4
accent
#E10563
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B666F2

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

Preview Lab → · Contrast checker → · Palette generator →

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