#B266CB#B266CB

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

Color values

HEX#B266CB
RGBrgb(178, 102, 203)
HSLhsl(285, 49%, 60%)
HSVhsv(285, 50%, 80%)
CMYKcmyk(12.3%, 49.8%, 0%, 20.4%)
CIE-LABlab(55.36, 46.96, -40.20)
CIE-LCHlch(55.36, 61.82, 319.44°)
OKLaboklab(63.47% 0.1208 -0.1116)
OKLCHoklch(63.47% 0.164 317.3)
XYZxyz(33.8894, 23.2806, 59.1968)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266CB #7FCB66
analogous
#8066CB #B266CB #CB66B1
triadic
#B266CB #CBB266 #66CBB2
tetradic
#B266CB #CB8066 #7FCB66 #66B1CB
square
#B266CB #CB8066 #7FCB66 #66B1CB
split-complementary
#B266CB #B1CB66 #66CB80
monochromatic
#722E88 #983EB6 #B266CB #C994DB #E0C1EA

Accessibility & contrast

On white

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

On black

5.66
#B266CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266CB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266CB#FFFFFF#000000##000000
##B266CB1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CE
Deuteranopia (green-blind)
#6987C8
Tritanopia (blue-blind)
#B1758F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b266cb;
/* rgb */ color: rgb(178, 102, 203);
/* oklch */ color: oklch(63.5% 0.164 317.3);
Tailwind
colors: {
  custom: {
    50: '#cb94db',
    500: '#b266cb',
    950: '#000000',
  },
}
SCSS
$custom: #b266cb;
$custom-light: #cb94db;
$custom-dark: #000000;
JSON
{
  "hex": "#b266cb",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 285.149,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63468,
    "c": 0.16445,
    "h": 317.3
  },
  "luminance": 0.2328
}

Semantic roles & 50–950 ramp

primary
#B266CB
secondary
#BDDAB3
accent
#D94F71
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B266CB

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

Preview Lab → · Contrast checker → · Palette generator →

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