#B26FC2#B26FC2

#B26FC2 is a light, vivid purple. Relative luminance 0.247; OKLCH L 64.4% C 0.140 H 319.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B26FC2
RGBrgb(178, 111, 194)
HSLhsl(288, 40%, 60%)
HSVhsv(288, 43%, 76%)
CMYKcmyk(8.2%, 42.8%, 0%, 23.9%)
CIE-LABlab(56.81, 40.33, -32.79)
CIE-LCHlch(56.81, 51.98, 320.88°)
OKLaboklab(64.41% 0.1065 -0.0903)
OKLCHoklch(64.41% 0.14 319.7)
XYZxyz(33.7809, 24.7300, 54.0224)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26FC2 #7FC26F
analogous
#896FC2 #B26FC2 #C26FA8
triadic
#B26FC2 #C2B26F #6FC2B2
tetradic
#B26FC2 #C2896F #7FC26F #6FA8C2
square
#B26FC2 #C2896F #7FC26F #6FA8C2
split-complementary
#B26FC2 #A8C26F #6FC289
monochromatic
#723680 #9849AB #B26FC2 #C99AD4 #E0C5E6

Accessibility & contrast

On white

3.53
#B26FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#B26FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26FC2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26FC2#FFFFFF#000000##000000
##B26FC21.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6384C5
Deuteranopia (green-blind)
#758BC0
Tritanopia (blue-blind)
#B3798F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b26fc2;
/* rgb */ color: rgb(178, 111, 194);
/* oklch */ color: oklch(64.4% 0.140 319.7);
Tailwind
colors: {
  custom: {
    50: '#ca9ad4',
    500: '#b26fc2',
    950: '#000000',
  },
}
SCSS
$custom: #b26fc2;
$custom-light: #ca9ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#b26fc2",
  "rgb": {
    "r": 178,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 288.434,
    "s": 40.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64412,
    "c": 0.13964,
    "h": 319.7
  },
  "luminance": 0.24729
}

Semantic roles & 50–950 ramp

primary
#B26FC2
secondary
#BDD6B6
accent
#D0576F
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #B26FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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