#B266DA#B266DA

#B266DA is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.3% C 0.181 H 312.6°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B266DA
RGBrgb(178, 102, 218)
HSLhsl(279, 61%, 63%)
HSVhsv(279, 53%, 85%)
CMYKcmyk(18.3%, 53.2%, 0%, 14.5%)
CIE-LABlab(56.12, 50.12, -47.50)
CIE-LCHlch(56.12, 69.05, 316.53°)
OKLaboklab(64.28% 0.1223 -0.1328)
OKLCHoklch(64.28% 0.181 312.6)
XYZxyz(35.7642, 24.0305, 69.0704)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266DA #8EDA66
analogous
#7866DA #B266DA #DA66C8
triadic
#B266DA #DAB266 #66DAB2
tetradic
#B266DA #DA7866 #8EDA66 #66C8DA
square
#B266DA #DA7866 #8EDA66 #66C8DA
split-complementary
#B266DA #C8DA66 #66DA78
monochromatic
#76269F #9935CE #B266DA #CB97E6 #E4C9F2

Accessibility & contrast

On white

3.62
#B266DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#B266DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266DA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266DA#FFFFFF#000000##000000
##B266DA1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4882DE
Deuteranopia (green-blind)
#6088D7
Tritanopia (blue-blind)
#AE7996
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b266da;
/* rgb */ color: rgb(178, 102, 218);
/* oklch */ color: oklch(64.3% 0.181 312.6);
Tailwind
colors: {
  custom: {
    50: '#cb94e6',
    500: '#b266da',
    950: '#000000',
  },
}
SCSS
$custom: #b266da;
$custom-light: #cb94e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b266da",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 279.31,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64275,
    "c": 0.18056,
    "h": 312.6
  },
  "luminance": 0.2403
}

Semantic roles & 50–950 ramp

primary
#B266DA
secondary
#C7E3B9
accent
#C91D58
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B266DA

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

Preview Lab → · Contrast checker → · Palette generator →

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