#B266DC#B266DC

#B266DC is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.4% C 0.183 H 312.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B266DC
RGBrgb(178, 102, 220)
HSLhsl(279, 63%, 63%)
HSVhsv(279, 54%, 86%)
CMYKcmyk(19.1%, 53.6%, 0%, 13.7%)
CIE-LABlab(56.22, 50.55, -48.47)
CIE-LCHlch(56.22, 70.03, 316.20°)
OKLaboklab(64.39% 0.1225 -0.1356)
OKLCHoklch(64.39% 0.183 312.1)
XYZxyz(36.0275, 24.1358, 70.4571)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266DC #90DC66
analogous
#7766DC #B266DC #DC66CB
triadic
#B266DC #DCB266 #66DCB2
tetradic
#B266DC #DC7766 #90DC66 #66CBDC
square
#B266DC #DC7766 #90DC66 #66CBDC
split-complementary
#B266DC #CBDC66 #66DC77
monochromatic
#7625A2 #9934D1 #B266DC #CB98E7 #E4CAF3

Accessibility & contrast

On white

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

On black

5.83
#B266DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266DC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266DC#FFFFFF#000000##000000
##B266DC1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E0
Deuteranopia (green-blind)
#5F88D9
Tritanopia (blue-blind)
#AE7A97
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b266dc;
/* rgb */ color: rgb(178, 102, 220);
/* oklch */ color: oklch(64.4% 0.183 312.1);
Tailwind
colors: {
  custom: {
    50: '#cc94e7',
    500: '#b266dc',
    950: '#000000',
  },
}
SCSS
$custom: #b266dc;
$custom-light: #cc94e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b266dc",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 278.644,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64386,
    "c": 0.18272,
    "h": 312.1
  },
  "luminance": 0.24135
}

Semantic roles & 50–950 ramp

primary
#B266DC
secondary
#C9E4BA
accent
#CB1B59
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B266DC

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

Preview Lab → · Contrast checker → · Palette generator →

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