#B266DD#B266DD

#B266DD is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.4% C 0.184 H 311.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#B266DD
RGBrgb(178, 102, 221)
HSLhsl(278, 64%, 63%)
HSVhsv(278, 54%, 87%)
CMYKcmyk(19.5%, 53.8%, 0%, 13.3%)
CIE-LABlab(56.28, 50.76, -48.94)
CIE-LCHlch(56.28, 70.52, 316.04°)
OKLaboklab(64.44% 0.1225 -0.137)
OKLCHoklch(64.44% 0.184 311.8)
XYZxyz(36.1603, 24.1890, 71.1567)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266DD #91DD66
analogous
#7666DD #B266DD #DD66CC
triadic
#B266DD #DDB266 #66DDB2
tetradic
#B266DD #DD7666 #91DD66 #66CCDD
square
#B266DD #DD7666 #91DD66 #66CCDD
split-complementary
#B266DD #CCDD66 #66DD76
monochromatic
#7624A4 #9934D2 #B266DD #CB98E8 #E4CAF3

Accessibility & contrast

On white

3.60
#B266DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#B266DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266DD
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266DD#FFFFFF#000000##000000
##B266DD1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E1
Deuteranopia (green-blind)
#5E89DA
Tritanopia (blue-blind)
#AD7A98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b266dd;
/* rgb */ color: rgb(178, 102, 221);
/* oklch */ color: oklch(64.4% 0.184 311.8);
Tailwind
colors: {
  custom: {
    50: '#cc94e8',
    500: '#b266dd',
    950: '#000000',
  },
}
SCSS
$custom: #b266dd;
$custom-light: #cc94e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b266dd",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 278.319,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64442,
    "c": 0.18381,
    "h": 311.8
  },
  "luminance": 0.24188
}

Semantic roles & 50–950 ramp

primary
#B266DD
secondary
#CAE5BA
accent
#CB1A5A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B266DD

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

Preview Lab → · Contrast checker → · Palette generator →

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