#B768DC#B768DC

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

Color values

HEX#B768DC
RGBrgb(183, 104, 220)
HSLhsl(281, 62%, 64%)
HSVhsv(281, 53%, 86%)
CMYKcmyk(16.8%, 52.7%, 0%, 13.7%)
CIE-LABlab(57.21, 50.83, -46.87)
CIE-LCHlch(57.21, 69.14, 317.32°)
OKLaboklab(65.24% 0.1259 -0.1308)
OKLCHoklch(65.24% 0.182 313.9)
XYZxyz(37.3949, 25.1362, 70.5782)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B768DC #8DDC68
analogous
#7D68DC #B768DC #DC68C7
triadic
#B768DC #DCB768 #68DCB7
tetradic
#B768DC #DC7D68 #8DDC68 #68C7DC
square
#B768DC #DC7D68 #8DDC68 #68C7DC
split-complementary
#B768DC #C7DC68 #68DC7D
monochromatic
#7C26A4 #9F36D0 #B768DC #CF9AE8 #E6CBF3

Accessibility & contrast

On white

3.48
#B768DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#B768DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B768DC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B768DC#FFFFFF#000000##000000
##B768DC1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B85E0
Deuteranopia (green-blind)
#658BD9
Tritanopia (blue-blind)
#B47B98
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b768dc;
/* rgb */ color: rgb(183, 104, 220);
/* oklch */ color: oklch(65.2% 0.182 313.9);
Tailwind
colors: {
  custom: {
    50: '#cf96e7',
    500: '#b768dc',
    950: '#000000',
  },
}
SCSS
$custom: #b768dc;
$custom-light: #cf96e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b768dc",
  "rgb": {
    "r": 183,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 280.862,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65241,
    "c": 0.18156,
    "h": 313.9
  },
  "luminance": 0.25135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B768DC

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

Preview Lab → · Contrast checker → · Palette generator →

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