#B266BF#B266BF

#B266BF is a light, vivid purple. Relative luminance 0.227; OKLCH L 62.9% C 0.152 H 321.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B266BF
RGBrgb(178, 102, 191)
HSLhsl(291, 41%, 57%)
HSVhsv(291, 47%, 75%)
CMYKcmyk(6.8%, 46.6%, 0%, 25.1%)
CIE-LABlab(54.79, 44.54, -34.23)
CIE-LCHlch(54.79, 56.18, 322.46°)
OKLaboklab(62.86% 0.1191 -0.0944)
OKLCHoklch(62.86% 0.152 321.6)
XYZxyz(32.5144, 22.7306, 51.9549)
Luminance0.2273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266BF #73BF66
analogous
#8666BF #B266BF #BF66A0
triadic
#B266BF #BFB266 #66BFB2
tetradic
#B266BF #BF8666 #73BF66 #66A0BF
square
#B266BF #BF8666 #73BF66 #66A0BF
split-complementary
#B266BF #A0BF66 #66BF86
monochromatic
#6E3278 #9644A3 #B266BF #C891D1 #DDBCE3

Accessibility & contrast

On white

3.79
#B266BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#B266BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266BF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266BF#FFFFFF#000000##000000
##B266BF1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#597EC2
Deuteranopia (green-blind)
#6F86BC
Tritanopia (blue-blind)
#B4718A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b266bf;
/* rgb */ color: rgb(178, 102, 191);
/* oklch */ color: oklch(62.9% 0.152 321.6);
Tailwind
colors: {
  custom: {
    50: '#cb94d2',
    500: '#b266bf',
    950: '#000000',
  },
}
SCSS
$custom: #b266bf;
$custom-light: #cb94d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b266bf",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 291.236,
    "s": 41.014,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62862,
    "c": 0.15192,
    "h": 321.6
  },
  "luminance": 0.22729
}

Semantic roles & 50–950 ramp

primary
#B266BF
secondary
#B4D2AE
accent
#D15769
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B266BF

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

Preview Lab → · Contrast checker → · Palette generator →

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