#B26AEA#B26AEA

#B26AEA is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.8% C 0.192 H 307.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B26AEA
RGBrgb(178, 106, 234)
HSLhsl(274, 75%, 67%)
HSVhsv(274, 55%, 92%)
CMYKcmyk(23.9%, 54.7%, 0%, 8.2%)
CIE-LABlab(57.76, 51.56, -53.87)
CIE-LCHlch(57.76, 74.56, 313.75°)
OKLaboklab(65.76% 0.1181 -0.1514)
OKLCHoklch(65.76% 0.192 307.9)
XYZxyz(38.3624, 25.7141, 80.7683)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26AEA #A2EA6A
analogous
#726AEA #B26AEA #EA6AE2
triadic
#B26AEA #EAB26A #6AEAB2
tetradic
#B26AEA #EA726A #A2EA6A #6AE2EA
square
#B26AEA #EA726A #A2EA6A #6AE2EA
split-complementary
#B26AEA #E2EA6A #6AEA72
monochromatic
#771BBF #9634E2 #B26AEA #CEA0F2 #E9D5F9

Accessibility & contrast

On white

3.42
#B26AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#B26AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26AEA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26AEA#FFFFFF#000000##000000
##B26AEA1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4088EE
Deuteranopia (green-blind)
#598CE7
Tritanopia (blue-blind)
#AA81A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b26aea;
/* rgb */ color: rgb(178, 106, 234);
/* oklch */ color: oklch(65.8% 0.192 307.9);
Tailwind
colors: {
  custom: {
    50: '#cc97f1',
    500: '#b26aea',
    950: '#000000',
  },
}
SCSS
$custom: #b26aea;
$custom-light: #cc97f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b26aea",
  "rgb": {
    "r": 178,
    "g": 106,
    "b": 234
  },
  "hsl": {
    "h": 273.75,
    "s": 75.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65764,
    "c": 0.19201,
    "h": 307.9
  },
  "luminance": 0.25714
}

Semantic roles & 50–950 ramp

primary
#B26AEA
secondary
#D5EDC3
accent
#D70E66
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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