#B26CD7#B26CD7

#B26CD7 is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.0% C 0.168 H 312.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B26CD7
RGBrgb(178, 108, 215)
HSLhsl(279, 57%, 63%)
HSVhsv(279, 50%, 84%)
CMYKcmyk(17.2%, 49.8%, 0%, 15.7%)
CIE-LABlab(57.17, 46.33, -44.15)
CIE-LCHlch(57.17, 64.00, 316.38°)
OKLaboklab(65% 0.114 -0.1231)
OKLCHoklch(65% 0.168 312.8)
XYZxyz(35.9863, 25.0972, 67.2253)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CD7 #91D76C
analogous
#7C6CD7 #B26CD7 #D76CC6
triadic
#B26CD7 #D7B26C #6CD7B2
tetradic
#B26CD7 #D77C6C #91D76C #6CC6D7
square
#B26CD7 #D77C6C #91D76C #6CC6D7
split-complementary
#B26CD7 #C6D76C #6CD77C
monochromatic
#762B9E #993CCA #B26CD7 #CB9CE4 #E4CCF1

Accessibility & contrast

On white

3.49
#B26CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#B26CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26CD7
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26CD7#FFFFFF#000000##000000
##B26CD71.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5385DB
Deuteranopia (green-blind)
#688BD4
Tritanopia (blue-blind)
#AE7D98
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b26cd7;
/* rgb */ color: rgb(178, 108, 215);
/* oklch */ color: oklch(65.0% 0.168 312.8);
Tailwind
colors: {
  custom: {
    50: '#cb98e4',
    500: '#b26cd7',
    950: '#000000',
  },
}
SCSS
$custom: #b26cd7;
$custom-light: #cb98e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b26cd7",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 279.252,
    "s": 57.219,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65002,
    "c": 0.16773,
    "h": 312.8
  },
  "luminance": 0.25096
}

Semantic roles & 50–950 ramp

primary
#B26CD7
secondary
#CAE2BC
accent
#C52159
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E15
muted
#827E84

Preview Lab

Preview with #B26CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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