#B266C8#B266C8

#B266C8 is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.3% C 0.161 H 318.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B266C8
RGBrgb(178, 102, 200)
HSLhsl(287, 47%, 59%)
HSVhsv(287, 49%, 78%)
CMYKcmyk(11%, 49%, 0%, 21.6%)
CIE-LABlab(55.22, 46.35, -38.72)
CIE-LCHlch(55.22, 60.39, 320.13°)
OKLaboklab(63.31% 0.1204 -0.1073)
OKLCHoklch(63.31% 0.161 318.3)
XYZxyz(33.5354, 23.1390, 57.3321)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266C8 #7CC866
analogous
#8166C8 #B266C8 #C866AD
triadic
#B266C8 #C8B266 #66C8B2
tetradic
#B266C8 #C88166 #7CC866 #66ADC8
square
#B266C8 #C88166 #7CC866 #66ADC8
split-complementary
#B266C8 #ADC866 #66C881
monochromatic
#712F84 #9840B1 #B266C8 #C993D8 #DFC0E8

Accessibility & contrast

On white

3.73
#B266C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#B266C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266C8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266C8#FFFFFF#000000##000000
##B266C81.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCB
Deuteranopia (green-blind)
#6B87C5
Tritanopia (blue-blind)
#B2748E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b266c8;
/* rgb */ color: rgb(178, 102, 200);
/* oklch */ color: oklch(63.3% 0.161 318.3);
Tailwind
colors: {
  custom: {
    50: '#cb94d9',
    500: '#b266c8',
    950: '#000000',
  },
}
SCSS
$custom: #b266c8;
$custom-light: #cb94d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b266c8",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 200
  },
  "hsl": {
    "h": 286.531,
    "s": 47.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63313,
    "c": 0.16129,
    "h": 318.3
  },
  "luminance": 0.23138
}

Semantic roles & 50–950 ramp

primary
#B266C8
secondary
#BAD8B2
accent
#D7516F
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#130D14
muted
#827E83

Preview Lab

Preview with #B266C8

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

Preview Lab → · Contrast checker → · Palette generator →

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