#B768CA#B768CA

#B768CA is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.3% C 0.163 H 319.6°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B768CA
RGBrgb(183, 104, 202)
HSLhsl(288, 48%, 60%)
HSVhsv(288, 49%, 79%)
CMYKcmyk(9.4%, 48.5%, 0%, 20.8%)
CIE-LABlab(56.32, 47.13, -38.08)
CIE-LCHlch(56.32, 60.59, 321.06°)
OKLaboklab(64.3% 0.1239 -0.1054)
OKLCHoklch(64.3% 0.163 319.6)
XYZxyz(35.1381, 24.2335, 58.6923)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B768CA #7BCA68
analogous
#8668CA #B768CA #CA68AC
triadic
#B768CA #CAB768 #68CAB7
tetradic
#B768CA #CA8668 #7BCA68 #68ACCA
square
#B768CA #CA8668 #7BCA68 #68ACCA
split-complementary
#B768CA #ACCA68 #68CA86
monochromatic
#773088 #9E40B5 #B768CA #CD95DA #E2C3EA

Accessibility & contrast

On white

3.59
#B768CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#B768CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B768CA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B768CA#FFFFFF#000000##000000
##B768CA1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CD
Deuteranopia (green-blind)
#6F8AC7
Tritanopia (blue-blind)
#B87590
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b768ca;
/* rgb */ color: rgb(183, 104, 202);
/* oklch */ color: oklch(64.3% 0.163 319.6);
Tailwind
colors: {
  custom: {
    50: '#ce96da',
    500: '#b768ca',
    950: '#000000',
  },
}
SCSS
$custom: #b768ca;
$custom-light: #ce96da;
$custom-dark: #000000;
JSON
{
  "hex": "#b768ca",
  "rgb": {
    "r": 183,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 288.367,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.64296,
    "c": 0.1626,
    "h": 319.6
  },
  "luminance": 0.24232
}

Semantic roles & 50–950 ramp

primary
#B768CA
secondary
#BBDAB4
accent
#D8506A
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B768CA

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

Preview Lab → · Contrast checker → · Palette generator →

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