#B768DB#B768DB

#B768DB is a light, vivid purple. Relative luminance 0.251; OKLCH L 65.2% C 0.180 H 314.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B768DB
RGBrgb(183, 104, 219)
HSLhsl(281, 61%, 63%)
HSVhsv(281, 53%, 86%)
CMYKcmyk(16.4%, 52.5%, 0%, 14.1%)
CIE-LABlab(57.16, 50.61, -46.39)
CIE-LCHlch(57.16, 68.65, 317.50°)
OKLaboklab(65.19% 0.1258 -0.1294)
OKLCHoklch(65.19% 0.18 314.2)
XYZxyz(37.2628, 25.0834, 69.8828)
Luminance0.2508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B768DB #8CDB68
analogous
#7D68DB #B768DB #DB68C6
triadic
#B768DB #DBB768 #68DBB7
tetradic
#B768DB #DB7D68 #8CDB68 #68C6DB
square
#B768DB #DB7D68 #8CDB68 #68C6DB
split-complementary
#B768DB #C6DB68 #68DB7D
monochromatic
#7B27A2 #9F37CF #B768DB #CF99E7 #E6CBF3

Accessibility & contrast

On white

3.49
#B768DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#B768DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B768DB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B768DB#FFFFFF#000000##000000
##B768DB1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C85DF
Deuteranopia (green-blind)
#668BD8
Tritanopia (blue-blind)
#B47A98
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b768db;
/* rgb */ color: rgb(183, 104, 219);
/* oklch */ color: oklch(65.2% 0.180 314.2);
Tailwind
colors: {
  custom: {
    50: '#cf96e6',
    500: '#b768db',
    950: '#000000',
  },
}
SCSS
$custom: #b768db;
$custom-light: #cf96e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b768db",
  "rgb": {
    "r": 183,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 281.217,
    "s": 61.497,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65186,
    "c": 0.18049,
    "h": 314.2
  },
  "luminance": 0.25082
}

Semantic roles & 50–950 ramp

primary
#B768DB
secondary
#C8E4BB
accent
#C91C52
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B768DB

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

Preview Lab → · Contrast checker → · Palette generator →

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