#B066DC#B066DC

#B066DC is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.2% C 0.182 H 311.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B066DC
RGBrgb(176, 102, 220)
HSLhsl(278, 63%, 63%)
HSVhsv(278, 54%, 86%)
CMYKcmyk(20%, 53.6%, 0%, 13.7%)
CIE-LABlab(55.99, 50.03, -48.85)
CIE-LCHlch(55.99, 69.92, 315.68°)
OKLaboklab(64.16% 0.12 -0.1368)
OKLCHoklch(64.16% 0.182 311.3)
XYZxyz(35.5718, 23.9009, 70.4357)
Luminance0.2390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B066DC #92DC66
analogous
#7566DC #B066DC #DC66CD
triadic
#B066DC #DCB066 #66DCB0
tetradic
#B066DC #DC7566 #92DC66 #66CDDC
square
#B066DC #DC7566 #92DC66 #66CDDC
split-complementary
#B066DC #CDDC66 #66DC75
monochromatic
#7425A2 #9634D1 #B066DC #CA98E7 #E3CAF3

Accessibility & contrast

On white

3.63
#B066DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#B066DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B066DC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B066DC#FFFFFF#000000##000000
##B066DC1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E0
Deuteranopia (green-blind)
#5D88D9
Tritanopia (blue-blind)
#AB7A97
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b066dc;
/* rgb */ color: rgb(176, 102, 220);
/* oklch */ color: oklch(64.2% 0.182 311.3);
Tailwind
colors: {
  custom: {
    50: '#ca94e7',
    500: '#b066dc',
    950: '#000000',
  },
}
SCSS
$custom: #b066dc;
$custom-light: #ca94e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b066dc",
  "rgb": {
    "r": 176,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 277.627,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64161,
    "c": 0.18198,
    "h": 311.3
  },
  "luminance": 0.239
}

Semantic roles & 50–950 ramp

primary
#B066DC
secondary
#CAE4BA
accent
#CB1B5C
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B066DC

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

Preview Lab → · Contrast checker → · Palette generator →

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