#B268EA#B268EA

#B268EA is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.5% C 0.195 H 308.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B268EA
RGBrgb(178, 104, 234)
HSLhsl(274, 76%, 66%)
HSVhsv(274, 56%, 92%)
CMYKcmyk(23.9%, 55.6%, 0%, 8.2%)
CIE-LABlab(57.37, 52.59, -54.49)
CIE-LCHlch(57.37, 75.73, 313.98°)
OKLaboklab(65.48% 0.1206 -0.1532)
OKLCHoklch(65.48% 0.195 308.2)
XYZxyz(38.1587, 25.3066, 80.7004)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B268EA #A0EA68
analogous
#7168EA #B268EA #EA68E1
triadic
#B268EA #EAB268 #68EAB2
tetradic
#B268EA #EA7168 #A0EA68 #68E1EA
square
#B268EA #EA7168 #A0EA68 #68E1EA
split-complementary
#B268EA #E1EA68 #68EA71
monochromatic
#771ABD #9732E3 #B268EA #CD9EF1 #E9D3F9

Accessibility & contrast

On white

3.46
#B268EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#B268EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B268EA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B268EA#FFFFFF#000000##000000
##B268EA1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EE
Deuteranopia (green-blind)
#578BE7
Tritanopia (blue-blind)
#AA809F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b268ea;
/* rgb */ color: rgb(178, 104, 234);
/* oklch */ color: oklch(65.5% 0.195 308.2);
Tailwind
colors: {
  custom: {
    50: '#cc96f1',
    500: '#b268ea',
    950: '#000000',
  },
}
SCSS
$custom: #b268ea;
$custom-light: #cc96f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b268ea",
  "rgb": {
    "r": 178,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 274.154,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65477,
    "c": 0.195,
    "h": 308.2
  },
  "luminance": 0.25306
}

Semantic roles & 50–950 ramp

primary
#B268EA
secondary
#D4ECC2
accent
#D80E65
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B268EA

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

Preview Lab → · Contrast checker → · Palette generator →

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