#B26FDD#B26FDD

#B26FDD is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.8% C 0.170 H 310.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B26FDD
RGBrgb(178, 111, 221)
HSLhsl(277, 62%, 65%)
HSVhsv(277, 50%, 87%)
CMYKcmyk(19.5%, 49.8%, 0%, 13.3%)
CIE-LABlab(58.09, 46.04, -46.07)
CIE-LCHlch(58.09, 65.13, 314.98°)
OKLaboklab(65.78% 0.1105 -0.1287)
OKLCHoklch(65.78% 0.17 310.7)
XYZxyz(37.0933, 26.0550, 71.4677)
Luminance0.2605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26FDD #9ADD6F
analogous
#7B6FDD #B26FDD #DD6FD1
triadic
#B26FDD #DDB26F #6FDDB2
tetradic
#B26FDD #DD7B6F #9ADD6F #6FD1DD
square
#B26FDD #DD7B6F #9ADD6F #6FD1DD
split-complementary
#B26FDD #D1DD6F #6FDD7B
monochromatic
#7728AA #983DD1 #B26FDD #CCA1E9 #E7D2F4

Accessibility & contrast

On white

3.38
#B26FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#B26FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26FDD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26FDD#FFFFFF#000000##000000
##B26FDD1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5388E1
Deuteranopia (green-blind)
#678DDA
Tritanopia (blue-blind)
#AD819C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b26fdd;
/* rgb */ color: rgb(178, 111, 221);
/* oklch */ color: oklch(65.8% 0.170 310.7);
Tailwind
colors: {
  custom: {
    50: '#cb9ae8',
    500: '#b26fdd',
    950: '#000000',
  },
}
SCSS
$custom: #b26fdd;
$custom-light: #cb9ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#b26fdd",
  "rgb": {
    "r": 178,
    "g": 111,
    "b": 221
  },
  "hsl": {
    "h": 276.545,
    "s": 61.798,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65782,
    "c": 0.16963,
    "h": 310.7
  },
  "luminance": 0.26054
}

Semantic roles & 50–950 ramp

primary
#B26FDD
secondary
#D0E7C1
accent
#CA1C60
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B26FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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