#B268CB#B268CB

#B268CB is a light, vivid purple. Relative luminance 0.237; OKLCH L 63.8% C 0.161 H 317.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B268CB
RGBrgb(178, 104, 203)
HSLhsl(285, 49%, 60%)
HSVhsv(285, 49%, 80%)
CMYKcmyk(12.3%, 48.8%, 0%, 20.4%)
CIE-LABlab(55.76, 45.91, -39.56)
CIE-LCHlch(55.76, 60.61, 319.25°)
OKLaboklab(63.77% 0.118 -0.1098)
OKLCHoklch(63.77% 0.161 317.1)
XYZxyz(34.0884, 23.6785, 59.2631)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B268CB #81CB68
analogous
#8068CB #B268CB #CB68B3
triadic
#B268CB #CBB268 #68CBB2
tetradic
#B268CB #CB8068 #81CB68 #68B3CB
square
#B268CB #CB8068 #81CB68 #68B3CB
split-complementary
#B268CB #B3CB68 #68CB80
monochromatic
#732F89 #993FB7 #B268CB #C996DB #E0C3EA

Accessibility & contrast

On white

3.66
#B268CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#B268CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B268CB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B268CB#FFFFFF#000000##000000
##B268CB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CE
Deuteranopia (green-blind)
#6B88C8
Tritanopia (blue-blind)
#B17690
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b268cb;
/* rgb */ color: rgb(178, 104, 203);
/* oklch */ color: oklch(63.8% 0.161 317.1);
Tailwind
colors: {
  custom: {
    50: '#cb95db',
    500: '#b268cb',
    950: '#000000',
  },
}
SCSS
$custom: #b268cb;
$custom-light: #cb95db;
$custom-dark: #000000;
JSON
{
  "hex": "#b268cb",
  "rgb": {
    "r": 178,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 284.848,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63768,
    "c": 0.16117,
    "h": 317.1
  },
  "luminance": 0.23677
}

Semantic roles & 50–950 ramp

primary
#B268CB
secondary
#BEDAB4
accent
#BC294E
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #B268CB

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

Preview Lab → · Contrast checker → · Palette generator →

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