#B26ECC#B26ECC

#B26ECC is a light, vivid purple. Relative luminance 0.250; OKLCH L 64.7% C 0.152 H 316.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B26ECC
RGBrgb(178, 110, 204)
HSLhsl(283, 48%, 62%)
HSVhsv(283, 46%, 80%)
CMYKcmyk(12.7%, 46.1%, 0%, 20%)
CIE-LABlab(57.05, 42.93, -38.11)
CIE-LCHlch(57.05, 57.40, 318.40°)
OKLaboklab(64.74% 0.1097 -0.1056)
OKLCHoklch(64.74% 0.152 316.1)
XYZxyz(34.8335, 24.9775, 60.1012)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26ECC #88CC6E
analogous
#836ECC #B26ECC #CC6EB7
triadic
#B26ECC #CCB26E #6ECCB2
tetradic
#B26ECC #CC836E #88CC6E #6EB7CC
square
#B26ECC #CC836E #88CC6E #6EB7CC
split-complementary
#B26ECC #B7CC6E #6ECC83
monochromatic
#74328E #9942BB #B26ECC #CA9BDC #E2C9EC

Accessibility & contrast

On white

3.50
#B26ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#B26ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26ECC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26ECC#FFFFFF#000000##000000
##B26ECC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85CF
Deuteranopia (green-blind)
#6F8BC9
Tritanopia (blue-blind)
#B17B93
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b26ecc;
/* rgb */ color: rgb(178, 110, 204);
/* oklch */ color: oklch(64.7% 0.152 316.1);
Tailwind
colors: {
  custom: {
    50: '#cb99dc',
    500: '#b26ecc',
    950: '#000000',
  },
}
SCSS
$custom: #b26ecc;
$custom-light: #cb99dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b26ecc",
  "rgb": {
    "r": 178,
    "g": 110,
    "b": 204
  },
  "hsl": {
    "h": 283.404,
    "s": 47.959,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64742,
    "c": 0.15225,
    "h": 316.1
  },
  "luminance": 0.24976
}

Semantic roles & 50–950 ramp

primary
#B26ECC
secondary
#C3DCB9
accent
#BB2A52
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B26ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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