#B266BB#B266BB

#B266BB is a light, vivid purple. Relative luminance 0.226; OKLCH L 62.7% C 0.148 H 323.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B266BB
RGBrgb(178, 102, 187)
HSLhsl(294, 38%, 57%)
HSVhsv(294, 45%, 73%)
CMYKcmyk(4.8%, 45.5%, 0%, 26.7%)
CIE-LABlab(54.61, 43.76, -32.21)
CIE-LCHlch(54.61, 54.34, 323.64°)
OKLaboklab(62.67% 0.1184 -0.0886)
OKLCHoklch(62.67% 0.148 323.2)
XYZxyz(32.0802, 22.5569, 49.6682)
Luminance0.2256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266BB #6FBB66
analogous
#8866BB #B266BB #BB669A
triadic
#B266BB #BBB266 #66BBB2
tetradic
#B266BB #BB8866 #6FBB66 #669ABB
square
#B266BB #BB8866 #6FBB66 #669ABB
split-complementary
#B266BB #9ABB66 #66BB88
monochromatic
#6D3373 #94469E #B266BB #C790CE #DDBBE1

Accessibility & contrast

On white

3.81
#B266BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#B266BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266BB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266BB#FFFFFF#000000##000000
##B266BB1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBE
Deuteranopia (green-blind)
#7186B8
Tritanopia (blue-blind)
#B57088
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b266bb;
/* rgb */ color: rgb(178, 102, 187);
/* oklch */ color: oklch(62.7% 0.148 323.2);
Tailwind
colors: {
  custom: {
    50: '#cb94cf',
    500: '#b266bb',
    950: '#000000',
  },
}
SCSS
$custom: #b266bb;
$custom-light: #cb94cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b266bb",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 293.647,
    "s": 38.462,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62669,
    "c": 0.14784,
    "h": 323.2
  },
  "luminance": 0.22556
}

Semantic roles & 50–950 ramp

primary
#B266BB
secondary
#B1D0AD
accent
#CE5966
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B266BB

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

Preview Lab → · Contrast checker → · Palette generator →

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