#B266CC#B266CC

#B266CC is a light, vivid purple. Relative luminance 0.233; OKLCH L 63.5% C 0.166 H 316.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B266CC
RGBrgb(178, 102, 204)
HSLhsl(285, 50%, 60%)
HSVhsv(285, 50%, 80%)
CMYKcmyk(12.7%, 50%, 0%, 20%)
CIE-LABlab(55.41, 47.17, -40.69)
CIE-LCHlch(55.41, 62.30, 319.22°)
OKLaboklab(63.52% 0.1209 -0.113)
OKLCHoklch(63.52% 0.166 316.9)
XYZxyz(34.0090, 23.3285, 59.8264)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266CC #80CC66
analogous
#7F66CC #B266CC #CC66B3
triadic
#B266CC #CCB266 #66CCB2
tetradic
#B266CC #CC7F66 #80CC66 #66B3CC
square
#B266CC #CC7F66 #80CC66 #66B3CC
split-complementary
#B266CC #B3CC66 #66CC7F
monochromatic
#722E8A #983DB8 #B266CC #C994DB #E0C2EB

Accessibility & contrast

On white

3.71
#B266CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#B266CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266CC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266CC#FFFFFF#000000##000000
##B266CC1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#6987C9
Tritanopia (blue-blind)
#B17590
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b266cc;
/* rgb */ color: rgb(178, 102, 204);
/* oklch */ color: oklch(63.5% 0.166 316.9);
Tailwind
colors: {
  custom: {
    50: '#cb94dc',
    500: '#b266cc',
    950: '#000000',
  },
}
SCSS
$custom: #b266cc;
$custom-light: #cb94dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b266cc",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 284.706,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.6352,
    "c": 0.16551,
    "h": 316.9
  },
  "luminance": 0.23327
}

Semantic roles & 50–950 ramp

primary
#B266CC
secondary
#BDDBB3
accent
#DA4E72
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B266CC

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

Preview Lab → · Contrast checker → · Palette generator →

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