#B768C8#B768C8

#B768C8 is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.2% C 0.161 H 320.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B768C8
RGBrgb(183, 104, 200)
HSLhsl(289, 47%, 60%)
HSVhsv(289, 48%, 78%)
CMYKcmyk(8.5%, 48%, 0%, 21.6%)
CIE-LABlab(56.23, 46.73, -37.09)
CIE-LCHlch(56.23, 59.65, 321.56°)
OKLaboklab(64.2% 0.1236 -0.1025)
OKLCHoklch(64.2% 0.161 320.3)
XYZxyz(34.9028, 24.1394, 57.4532)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B768C8 #79C868
analogous
#8768C8 #B768C8 #C868A9
triadic
#B768C8 #C8B768 #68C8B7
tetradic
#B768C8 #C88768 #79C868 #68A9C8
square
#B768C8 #C88768 #79C868 #68A9C8
split-complementary
#B768C8 #A9C868 #68C887
monochromatic
#763085 #9E41B2 #B768C8 #CC95D8 #E2C2E9

Accessibility & contrast

On white

3.60
#B768C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#B768C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B768C8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B768C8#FFFFFF#000000##000000
##B768C81.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981CB
Deuteranopia (green-blind)
#708AC5
Tritanopia (blue-blind)
#B8758F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b768c8;
/* rgb */ color: rgb(183, 104, 200);
/* oklch */ color: oklch(64.2% 0.161 320.3);
Tailwind
colors: {
  custom: {
    50: '#ce96d9',
    500: '#b768c8',
    950: '#000000',
  },
}
SCSS
$custom: #b768c8;
$custom-light: #ce96d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b768c8",
  "rgb": {
    "r": 183,
    "g": 104,
    "b": 200
  },
  "hsl": {
    "h": 289.375,
    "s": 46.602,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64196,
    "c": 0.16054,
    "h": 320.3
  },
  "luminance": 0.24138
}

Semantic roles & 50–950 ramp

primary
#B768C8
secondary
#BAD9B3
accent
#D65269
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140D14
muted
#827E83

Preview Lab

Preview with #B768C8

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

Preview Lab → · Contrast checker → · Palette generator →

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