#B26AF2#B26AF2

#B26AF2 is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.2% C 0.201 H 306.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B26AF2
RGBrgb(178, 106, 242)
HSLhsl(272, 84%, 68%)
HSVhsv(272, 56%, 95%)
CMYKcmyk(26.4%, 56.2%, 0%, 5.1%)
CIE-LABlab(58.21, 53.37, -57.61)
CIE-LCHlch(58.21, 78.53, 312.81°)
OKLaboklab(66.24% 0.1184 -0.1624)
OKLCHoklch(66.24% 0.201 306.1)
XYZxyz(39.5378, 26.1842, 86.9583)
Luminance0.2618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26AF2 #AAF26A
analogous
#6E6AF2 #B26AF2 #F26AEE
triadic
#B26AF2 #F2B26A #6AF2B2
tetradic
#B26AF2 #F26E6A #AAF26A #6AEEF2
square
#B26AF2 #F26E6A #AAF26A #6AEEF2
split-complementary
#B26AF2 #EEF26A #6AF26E
monochromatic
#7612CF #9532ED #B26AF2 #CFA2F7 #ECDBFC

Accessibility & contrast

On white

3.37
#B26AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#B26AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26AF2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26AF2#FFFFFF#000000##000000
##B26AF21.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#378AF6
Deuteranopia (green-blind)
#528CEF
Tritanopia (blue-blind)
#A884A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b26af2;
/* rgb */ color: rgb(178, 106, 242);
/* oklch */ color: oklch(66.2% 0.201 306.1);
Tailwind
colors: {
  custom: {
    50: '#cc97f7',
    500: '#b26af2',
    950: '#000000',
  },
}
SCSS
$custom: #b26af2;
$custom-light: #cc97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b26af2",
  "rgb": {
    "r": 178,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 271.765,
    "s": 83.951,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66236,
    "c": 0.20092,
    "h": 306.1
  },
  "luminance": 0.26184
}

Semantic roles & 50–950 ramp

primary
#B26AF2
secondary
#DBF1C7
accent
#E0056C
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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