#B368CB#B368CB

#B368CB is a light, vivid purple. Relative luminance 0.238; OKLCH L 63.9% C 0.162 H 317.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B368CB
RGBrgb(179, 104, 203)
HSLhsl(285, 49%, 60%)
HSVhsv(285, 49%, 80%)
CMYKcmyk(11.8%, 48.8%, 0%, 20.4%)
CIE-LABlab(55.88, 46.20, -39.37)
CIE-LCHlch(55.88, 60.69, 319.56°)
OKLaboklab(63.88% 0.1192 -0.1092)
OKLCHoklch(63.88% 0.162 317.5)
XYZxyz(34.3187, 23.7973, 59.2739)
Luminance0.2380 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368CB #80CB68
analogous
#8268CB #B368CB #CB68B1
triadic
#B368CB #CBB368 #68CBB3
tetradic
#B368CB #CB8268 #80CB68 #68B1CB
square
#B368CB #CB8268 #80CB68 #68B1CB
split-complementary
#B368CB #B1CB68 #68CB82
monochromatic
#732F89 #9A3FB7 #B368CB #CA96DB #E1C3EA

Accessibility & contrast

On white

3.65
#B368CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#B368CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368CB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368CB#FFFFFF#000000##000000
##B368CB1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#6C88C8
Tritanopia (blue-blind)
#B37690
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b368cb;
/* rgb */ color: rgb(179, 104, 203);
/* oklch */ color: oklch(63.9% 0.162 317.5);
Tailwind
colors: {
  custom: {
    50: '#cc95db',
    500: '#b368cb',
    950: '#000000',
  },
}
SCSS
$custom: #b368cb;
$custom-light: #cc95db;
$custom-dark: #000000;
JSON
{
  "hex": "#b368cb",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 285.455,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63882,
    "c": 0.16165,
    "h": 317.5
  },
  "luminance": 0.23796
}

Semantic roles & 50–950 ramp

primary
#B368CB
secondary
#BEDAB4
accent
#BC294D
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B368CB

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

Preview Lab → · Contrast checker → · Palette generator →

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