#B266D5#B266D5

#B266D5 is a light, vivid purple. Relative luminance 0.238; OKLCH L 64.0% C 0.175 H 314.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B266D5
RGBrgb(178, 102, 213)
HSLhsl(281, 57%, 62%)
HSVhsv(281, 52%, 84%)
CMYKcmyk(16.4%, 52.1%, 0%, 16.5%)
CIE-LABlab(55.86, 49.05, -45.09)
CIE-LCHlch(55.86, 66.63, 317.41°)
OKLaboklab(64% 0.1219 -0.1258)
OKLCHoklch(64% 0.175 314.1)
XYZxyz(35.1197, 23.7728, 65.6765)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B266D5 #89D566
analogous
#7B66D5 #B266D5 #D566C1
triadic
#B266D5 #D5B266 #66D5B2
tetradic
#B266D5 #D57B66 #89D566 #66C1D5
square
#B266D5 #D57B66 #89D566 #66C1D5
split-complementary
#B266D5 #C1D566 #66D57B
monochromatic
#752997 #9A37C7 #B266D5 #CA96E2 #E2C6EF

Accessibility & contrast

On white

3.65
#B266D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#B266D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B266D5
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B266D5#FFFFFF#000000##000000
##B266D51.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C82D9
Deuteranopia (green-blind)
#6488D2
Tritanopia (blue-blind)
#AF7894
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b266d5;
/* rgb */ color: rgb(178, 102, 213);
/* oklch */ color: oklch(64.0% 0.175 314.1);
Tailwind
colors: {
  custom: {
    50: '#cb94e2',
    500: '#b266d5',
    950: '#000000',
  },
}
SCSS
$custom: #b266d5;
$custom-light: #cb94e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b266d5",
  "rgb": {
    "r": 178,
    "g": 102,
    "b": 213
  },
  "hsl": {
    "h": 281.081,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64,
    "c": 0.17515,
    "h": 314.1
  },
  "luminance": 0.23772
}

Semantic roles & 50–950 ramp

primary
#B266D5
secondary
#C4E0B7
accent
#C42155
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B266D5

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

Preview Lab → · Contrast checker → · Palette generator →

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