#B66DF2#B66DF2

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

Color values

HEX#B66DF2
RGBrgb(182, 109, 242)
HSLhsl(273, 84%, 69%)
HSVhsv(273, 55%, 95%)
CMYKcmyk(24.8%, 55%, 0%, 5.1%)
CIE-LABlab(59.25, 52.79, -55.93)
CIE-LCHlch(59.25, 76.91, 313.35°)
OKLaboklab(67.1% 0.1195 -0.1573)
OKLCHoklch(67.1% 0.198 307.2)
XYZxyz(40.7838, 27.2936, 87.1069)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B66DF2 #A9F26D
analogous
#746DF2 #B66DF2 #F26DEC
triadic
#B66DF2 #F2B66D #6DF2B6
tetradic
#B66DF2 #F2746D #A9F26D #6DECF2
square
#B66DF2 #F2746D #A9F26D #6DECF2
split-complementary
#B66DF2 #ECF26D #6DF274
monochromatic
#7C13D2 #9A35ED #B66DF2 #D2A5F7 #EEDDFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B66DF2#FFFFFF#000000##000000
##B66DF21.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)
#3F8CF6
Deuteranopia (green-blind)
#598FEF
Tritanopia (blue-blind)
#AD86A5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b66df2;
/* rgb */ color: rgb(182, 109, 242);
/* oklch */ color: oklch(67.1% 0.198 307.2);
Tailwind
colors: {
  custom: {
    50: '#cf99f7',
    500: '#b66df2',
    950: '#000000',
  },
}
SCSS
$custom: #b66df2;
$custom-light: #cf99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b66df2",
  "rgb": {
    "r": 182,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 272.932,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67095,
    "c": 0.19759,
    "h": 307.2
  },
  "luminance": 0.27293
}

Semantic roles & 50–950 ramp

primary
#B66DF2
secondary
#DBF1CA
accent
#E00568
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B66DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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