#B266CA#B266CA

#B266CA is a light, vivid purple. Relative luminance 0.232; OKLCH L 63.4% C 0.163 H 317.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B266CA
RGBrgb(178, 102, 202)
HSLhsl(286, 49%, 60%)
HSVhsv(286, 50%, 79%)
CMYKcmyk(11.9%, 49.5%, 0%, 20.8%)
CIE-LABlab(55.31, 46.76, -39.71)
CIE-LCHlch(55.31, 61.34, 319.66°)
OKLaboklab(63.42% 0.1207 -0.1102)
OKLCHoklch(63.42% 0.163 317.6)
XYZxyz(33.7706, 23.2331, 58.5712)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266CA #7ECA66
analogous
#8066CA #B266CA #CA66B0
triadic
#B266CA #CAB266 #66CAB2
tetradic
#B266CA #CA8066 #7ECA66 #66B0CA
square
#B266CA #CA8066 #7ECA66 #66B0CA
split-complementary
#B266CA #B0CA66 #66CA80
monochromatic
#722F87 #983EB4 #B266CA #C993DA #E0C1E9

Accessibility & contrast

On white

3.72
#B266CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#B266CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266CA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266CA#FFFFFF#000000##000000
##B266CA1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CD
Deuteranopia (green-blind)
#6A87C7
Tritanopia (blue-blind)
#B2748F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b266ca;
/* rgb */ color: rgb(178, 102, 202);
/* oklch */ color: oklch(63.4% 0.163 317.6);
Tailwind
colors: {
  custom: {
    50: '#cb94da',
    500: '#b266ca',
    950: '#000000',
  },
}
SCSS
$custom: #b266ca;
$custom-light: #cb94da;
$custom-dark: #000000;
JSON
{
  "hex": "#b266ca",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 285.6,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63416,
    "c": 0.1634,
    "h": 317.6
  },
  "luminance": 0.23232
}

Semantic roles & 50–950 ramp

primary
#B266CA
secondary
#BCD9B2
accent
#D85070
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #B266CA

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

Preview Lab → · Contrast checker → · Palette generator →

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