#B26FF2#B26FF2

#B26FF2 is a light, vivid violet. Relative luminance 0.272; OKLCH L 67.0% C 0.194 H 305.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B26FF2
RGBrgb(178, 111, 242)
HSLhsl(271, 83%, 69%)
HSVhsv(271, 54%, 95%)
CMYKcmyk(26.4%, 54.1%, 0%, 5.1%)
CIE-LABlab(59.20, 50.77, -56.03)
CIE-LCHlch(59.20, 75.61, 312.18°)
OKLaboklab(66.96% 0.1121 -0.1577)
OKLCHoklch(66.96% 0.194 305.4)
XYZxyz(40.0681, 27.2449, 87.1351)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26FF2 #AFF26F
analogous
#716FF2 #B26FF2 #F26FF0
triadic
#B26FF2 #F2B26F #6FF2B2
tetradic
#B26FF2 #F2716F #AFF26F #6FF0F2
square
#B26FF2 #F2716F #AFF26F #6FF0F2
split-complementary
#B26FF2 #F0F26F #6FF271
monochromatic
#7613D4 #9437ED #B26FF2 #D0A7F7 #EEDFFC

Accessibility & contrast

On white

3.26
#B26FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#B26FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26FF2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26FF2#FFFFFF#000000##000000
##B26FF21.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#418CF6
Deuteranopia (green-blind)
#588FEF
Tritanopia (blue-blind)
#A787A6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b26ff2;
/* rgb */ color: rgb(178, 111, 242);
/* oklch */ color: oklch(67.0% 0.194 305.4);
Tailwind
colors: {
  custom: {
    50: '#cc9af7',
    500: '#b26ff2',
    950: '#000000',
  },
}
SCSS
$custom: #b26ff2;
$custom-light: #cc9af7;
$custom-dark: #000000;
JSON
{
  "hex": "#b26ff2",
  "rgb": {
    "r": 178,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 270.687,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66963,
    "c": 0.19352,
    "h": 305.4
  },
  "luminance": 0.27245
}

Semantic roles & 50–950 ramp

primary
#B26FF2
secondary
#DEF1CB
accent
#E00670
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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