#B768D7#B768D7

#B768D7 is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.0% C 0.176 H 315.4°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B768D7
RGBrgb(183, 104, 215)
HSLhsl(283, 58%, 63%)
HSVhsv(283, 52%, 84%)
CMYKcmyk(14.9%, 51.6%, 0%, 15.7%)
CIE-LABlab(56.95, 49.78, -44.45)
CIE-LCHlch(56.95, 66.74, 318.24°)
OKLaboklab(64.97% 0.1254 -0.1238)
OKLCHoklch(64.97% 0.176 315.4)
XYZxyz(36.7426, 24.8753, 67.1427)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B768D7 #88D768
analogous
#8068D7 #B768D7 #D768BF
triadic
#B768D7 #D7B768 #68D7B7
tetradic
#B768D7 #D78068 #88D768 #68BFD7
square
#B768D7 #D78068 #88D768 #68BFD7
split-complementary
#B768D7 #BFD768 #68D780
monochromatic
#7A299B #A038CA #B768D7 #CE98E4 #E5C9F1

Accessibility & contrast

On white

3.51
#B768D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#B768D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B768D7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B768D7#FFFFFF#000000##000000
##B768D71.003.515.975.97
#FFFFFF3.511.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F84DB
Deuteranopia (green-blind)
#688BD4
Tritanopia (blue-blind)
#B57996
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b768d7;
/* rgb */ color: rgb(183, 104, 215);
/* oklch */ color: oklch(65.0% 0.176 315.4);
Tailwind
colors: {
  custom: {
    50: '#cf96e4',
    500: '#b768d7',
    950: '#000000',
  },
}
SCSS
$custom: #b768d7;
$custom-light: #cf96e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b768d7",
  "rgb": {
    "r": 183,
    "g": 104,
    "b": 215
  },
  "hsl": {
    "h": 282.703,
    "s": 58.115,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64971,
    "c": 0.17624,
    "h": 315.4
  },
  "luminance": 0.24874
}

Semantic roles & 50–950 ramp

primary
#B768D7
secondary
#C5E2B9
accent
#C62050
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D15
muted
#827E84

Preview Lab

Preview with #B768D7

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

Preview Lab → · Contrast checker → · Palette generator →

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