#B26CFA#B26CFA

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

Color values

HEX#B26CFA
RGBrgb(178, 108, 250)
HSLhsl(270, 93%, 70%)
HSVhsv(270, 57%, 98%)
CMYKcmyk(28.8%, 56.8%, 0%, 2%)
CIE-LABlab(59.06, 54.18, -60.68)
CIE-LCHlch(59.06, 81.35, 311.76°)
OKLaboklab(67.01% 0.116 -0.1714)
OKLCHoklch(67.01% 0.207 304.1)
XYZxyz(40.9742, 27.0924, 93.4947)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B26CFA #B4FA6C
analogous
#6C6DFA #B26CFA #F96CFA
triadic
#B26CFA #FAB26C #6CFAB2
tetradic
#B26CFA #FA6C6D #B4FA6C #6CFAF9
square
#B26CFA #FA6C6D #B4FA6C #6CFAF9
split-complementary
#B26CFA #FAF96C #6DFA6C
monochromatic
#7408E4 #9331F8 #B26CFA #D1A7FC #EFE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B26CFA#FFFFFF#000000##000000
##B26CFA1.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)
#308CFF
Deuteranopia (green-blind)
#4D8EF7
Tritanopia (blue-blind)
#A588A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b26cfa;
/* rgb */ color: rgb(178, 108, 250);
/* oklch */ color: oklch(67.0% 0.207 304.1);
Tailwind
colors: {
  custom: {
    50: '#cd99fd',
    500: '#b26cfa',
    950: '#000000',
  },
}
SCSS
$custom: #b26cfa;
$custom-light: #cd99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b26cfa",
  "rgb": {
    "r": 178,
    "g": 108,
    "b": 250
  },
  "hsl": {
    "h": 269.577,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67006,
    "c": 0.20696,
    "h": 304.1
  },
  "luminance": 0.27092
}

Semantic roles & 50–950 ramp

primary
#B26CFA
secondary
#E1F5CD
accent
#E60074
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B26CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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