#B266DB#B266DB

#B266DB is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.3% C 0.182 H 312.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B266DB
RGBrgb(178, 102, 219)
HSLhsl(279, 62%, 63%)
HSVhsv(279, 53%, 86%)
CMYKcmyk(18.7%, 53.4%, 0%, 14.1%)
CIE-LABlab(56.17, 50.33, -47.99)
CIE-LCHlch(56.17, 69.54, 316.37°)
OKLaboklab(64.33% 0.1224 -0.1342)
OKLCHoklch(64.33% 0.182 312.4)
XYZxyz(35.8954, 24.0830, 69.7617)
Luminance0.2408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266DB #8FDB66
analogous
#7766DB #B266DB #DB66CA
triadic
#B266DB #DBB266 #66DBB2
tetradic
#B266DB #DB7766 #8FDB66 #66CADB
square
#B266DB #DB7766 #8FDB66 #66CADB
split-complementary
#B266DB #CADB66 #66DB77
monochromatic
#7626A1 #9934CF #B266DB #CB98E7 #E4C9F2

Accessibility & contrast

On white

3.61
#B266DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#B266DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266DB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266DB#FFFFFF#000000##000000
##B266DB1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4783DF
Deuteranopia (green-blind)
#6088D8
Tritanopia (blue-blind)
#AE7A97
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b266db;
/* rgb */ color: rgb(178, 102, 219);
/* oklch */ color: oklch(64.3% 0.182 312.4);
Tailwind
colors: {
  custom: {
    50: '#cc94e7',
    500: '#b266db',
    950: '#000000',
  },
}
SCSS
$custom: #b266db;
$custom-light: #cc94e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b266db",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 278.974,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6433,
    "c": 0.18164,
    "h": 312.4
  },
  "luminance": 0.24082
}

Semantic roles & 50–950 ramp

primary
#B266DB
secondary
#C8E3B9
accent
#CA1C59
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B266DB

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

Preview Lab → · Contrast checker → · Palette generator →

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