#B26CD5#B26CD5

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

Color values

HEX#B26CD5
RGBrgb(178, 108, 213)
HSLhsl(280, 56%, 63%)
HSVhsv(280, 49%, 84%)
CMYKcmyk(16.4%, 49.3%, 0%, 16.5%)
CIE-LABlab(57.07, 45.90, -43.18)
CIE-LCHlch(57.07, 63.02, 316.75°)
OKLaboklab(64.9% 0.1137 -0.1203)
OKLCHoklch(64.9% 0.166 313.4)
XYZxyz(35.7309, 24.9951, 65.8802)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CD5 #8FD56C
analogous
#7D6CD5 #B26CD5 #D56CC3
triadic
#B26CD5 #D5B26C #6CD5B2
tetradic
#B26CD5 #D57D6C #8FD56C #6CC3D5
square
#B26CD5 #D57D6C #8FD56C #6CC3D5
split-complementary
#B26CD5 #C3D56C #6CD57D
monochromatic
#762C9A #993CC7 #B26CD5 #CB9CE3 #E4CBF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B26CD5#FFFFFF#000000##000000
##B26CD51.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)
#5485D9
Deuteranopia (green-blind)
#698BD2
Tritanopia (blue-blind)
#AF7C97
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b26cd5;
/* rgb */ color: rgb(178, 108, 213);
/* oklch */ color: oklch(64.9% 0.166 313.4);
Tailwind
colors: {
  custom: {
    50: '#cb98e2',
    500: '#b26cd5',
    950: '#000000',
  },
}
SCSS
$custom: #b26cd5;
$custom-light: #cb98e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b26cd5",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 213
  },
  "hsl": {
    "h": 280,
    "s": 55.556,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64896,
    "c": 0.16551,
    "h": 313.4
  },
  "luminance": 0.24994
}

Semantic roles & 50–950 ramp

primary
#B26CD5
secondary
#C8E1BB
accent
#C32258
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B26CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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