#B26CF2#B26CF2

#B26CF2 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.5% C 0.198 H 305.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#B26CF2
RGBrgb(178, 108, 242)
HSLhsl(271, 84%, 69%)
HSVhsv(271, 55%, 95%)
CMYKcmyk(26.4%, 55.4%, 0%, 5.1%)
CIE-LABlab(58.60, 52.33, -56.98)
CIE-LCHlch(58.60, 77.37, 312.57°)
OKLaboklab(66.52% 0.1159 -0.1605)
OKLCHoklch(66.52% 0.198 305.8)
XYZxyz(39.7463, 26.6012, 87.0278)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CF2 #ACF26C
analogous
#6F6CF2 #B26CF2 #F26CEF
triadic
#B26CF2 #F2B26C #6CF2B2
tetradic
#B26CF2 #F26F6C #ACF26C #6CEFF2
square
#B26CF2 #F26F6C #ACF26C #6CEFF2
split-complementary
#B26CF2 #EFF26C #6CF26F
monochromatic
#7612D1 #9534ED #B26CF2 #CFA4F7 #EDDCFC

Accessibility & contrast

On white

3.32
#B26CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#B26CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B26CF2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B26CF2#FFFFFF#000000##000000
##B26CF21.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8BF6
Deuteranopia (green-blind)
#558DEF
Tritanopia (blue-blind)
#A785A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b26cf2;
/* rgb */ color: rgb(178, 108, 242);
/* oklch */ color: oklch(66.5% 0.198 305.8);
Tailwind
colors: {
  custom: {
    50: '#cc99f7',
    500: '#b26cf2',
    950: '#000000',
  },
}
SCSS
$custom: #b26cf2;
$custom-light: #cc99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b26cf2",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 271.343,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66524,
    "c": 0.19798,
    "h": 305.8
  },
  "luminance": 0.26601
}

Semantic roles & 50–950 ramp

primary
#B26CF2
secondary
#DCF1C9
accent
#E0056E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B26CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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