#B26AFD#B26AFD

#B26AFD is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 66.9% C 0.213 H 303.8°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B26AFD
RGBrgb(178, 106, 253)
HSLhsl(269, 97%, 70%)
HSVhsv(269, 58%, 99%)
CMYKcmyk(29.6%, 58.1%, 0%, 0.8%)
CIE-LABlab(58.85, 55.90, -62.68)
CIE-LCHlch(58.85, 83.98, 311.73°)
OKLaboklab(66.91% 0.1184 -0.1772)
OKLCHoklch(66.91% 0.213 303.8)
XYZxyz(41.2398, 26.8650, 95.9223)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26AFD #B5FD6A
analogous
#6A6BFD #B26AFD #FC6AFD
triadic
#B26AFD #FDB26A #6AFDB2
tetradic
#B26AFD #FD6A6B #B5FD6A #6AFDFC
square
#B26AFD #FD6A6B #B5FD6A #6AFDFC
split-complementary
#B26AFD #FDFC6A #6BFD6A
monochromatic
#7403E9 #932EFC #B26AFD #D1A6FE #EFE1FF

Accessibility & contrast

On white

3.30
#B26AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#B26AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26AFD
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26AFD#FFFFFF#000000##000000
##B26AFD1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#258CFF
Deuteranopia (green-blind)
#478DFA
Tritanopia (blue-blind)
#A487AA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b26afd;
/* rgb */ color: rgb(178, 106, 253);
/* oklch */ color: oklch(66.9% 0.213 303.8);
Tailwind
colors: {
  custom: {
    50: '#cd97ff',
    500: '#b26afd',
    950: '#000000',
  },
}
SCSS
$custom: #b26afd;
$custom-light: #cd97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b26afd",
  "rgb": {
    "r": 178,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 269.388,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66908,
    "c": 0.21315,
    "h": 303.8
  },
  "luminance": 0.26865
}

Semantic roles & 50–950 ramp

primary
#B26AFD
secondary
#E2F6CD
accent
#E60075
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B26AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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