#B266BD#B266BD

#B266BD is a light, vivid purple. Relative luminance 0.226; OKLCH L 62.8% C 0.150 H 322.4°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B266BD
RGBrgb(178, 102, 189)
HSLhsl(292, 40%, 57%)
HSVhsv(292, 46%, 74%)
CMYKcmyk(5.8%, 46%, 0%, 25.9%)
CIE-LABlab(54.70, 44.15, -33.22)
CIE-LCHlch(54.70, 55.25, 323.04°)
OKLaboklab(62.77% 0.1187 -0.0915)
OKLCHoklch(62.77% 0.15 322.4)
XYZxyz(32.2958, 22.6432, 50.8036)
Luminance0.2264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266BD #71BD66
analogous
#8766BD #B266BD #BD669D
triadic
#B266BD #BDB266 #66BDB2
tetradic
#B266BD #BD8766 #71BD66 #669DBD
square
#B266BD #BD8766 #71BD66 #669DBD
split-complementary
#B266BD #9DBD66 #66BD87
monochromatic
#6D3376 #9545A1 #B266BD #C891CF #DDBCE2

Accessibility & contrast

On white

3.80
#B266BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#B266BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266BD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266BD#FFFFFF#000000##000000
##B266BD1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DC0
Deuteranopia (green-blind)
#7086BA
Tritanopia (blue-blind)
#B47189
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b266bd;
/* rgb */ color: rgb(178, 102, 189);
/* oklch */ color: oklch(62.8% 0.150 322.4);
Tailwind
colors: {
  custom: {
    50: '#cb94d1',
    500: '#b266bd',
    950: '#000000',
  },
}
SCSS
$custom: #b266bd;
$custom-light: #cb94d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b266bd",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 292.414,
    "s": 39.726,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62765,
    "c": 0.14987,
    "h": 322.4
  },
  "luminance": 0.22642
}

Semantic roles & 50–950 ramp

primary
#B266BD
secondary
#B2D1AE
accent
#D05867
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B266BD

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

Preview Lab → · Contrast checker → · Palette generator →

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