#B26DF7#B26DF7

#B26DF7 is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 67.0% C 0.202 H 304.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#B26DF7
RGBrgb(178, 109, 247)
HSLhsl(270, 90%, 70%)
HSVhsv(270, 56%, 97%)
CMYKcmyk(27.9%, 55.9%, 0%, 3.1%)
CIE-LABlab(59.08, 52.97, -58.99)
CIE-LCHlch(59.08, 79.28, 311.92°)
OKLaboklab(66.97% 0.1148 -0.1664)
OKLCHoklch(66.97% 0.202 304.6)
XYZxyz(40.6136, 27.1178, 91.0723)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26DF7 #B2F76D
analogous
#6D6DF7 #B26DF7 #F76DF7
triadic
#B26DF7 #F7B26D #6DF7B2
tetradic
#B26DF7 #F76D6D #B2F76D #6DF7F7
square
#B26DF7 #F76D6D #B2F76D #6DF7F7
split-complementary
#B26DF7 #F7F76D #6DF76D
monochromatic
#750CDD #9333F4 #B26DF7 #D1A7FA #EFE1FD

Accessibility & contrast

On white

3.27
#B26DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#B26DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26DF7
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26DF7#FFFFFF#000000##000000
##B26DF71.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#378CFC
Deuteranopia (green-blind)
#518EF4
Tritanopia (blue-blind)
#A688A8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b26df7;
/* rgb */ color: rgb(178, 109, 247);
/* oklch */ color: oklch(67.0% 0.202 304.6);
Tailwind
colors: {
  custom: {
    50: '#cd99fa',
    500: '#b26df7',
    950: '#000000',
  },
}
SCSS
$custom: #b26df7;
$custom-light: #cd99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b26df7",
  "rgb": {
    "r": 178,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 270,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66968,
    "c": 0.20214,
    "h": 304.6
  },
  "luminance": 0.27118
}

Semantic roles & 50–950 ramp

primary
#B26DF7
secondary
#E0F3CC
accent
#E60073
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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