#B770DD#B770DD

#B770DD is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.5% C 0.170 H 312.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B770DD
RGBrgb(183, 112, 221)
HSLhsl(279, 62%, 65%)
HSVhsv(279, 49%, 87%)
CMYKcmyk(17.2%, 49.3%, 0%, 13.3%)
CIE-LABlab(58.86, 46.87, -44.82)
CIE-LCHlch(58.86, 64.85, 316.28°)
OKLaboklab(66.48% 0.1152 -0.1249)
OKLCHoklch(66.48% 0.17 312.7)
XYZxyz(38.3715, 26.8769, 71.5590)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B770DD #96DD70
analogous
#8170DD #B770DD #DD70CC
triadic
#B770DD #DDB770 #70DDB7
tetradic
#B770DD #DD8170 #96DD70 #70CCDD
square
#B770DD #DD8170 #96DD70 #70CCDD
split-complementary
#B770DD #CCDD70 #70DD81
monochromatic
#7D28AA #9E3FD1 #B770DD #D0A1E9 #E9D3F5

Accessibility & contrast

On white

3.29
#B770DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#B770DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B770DD
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B770DD#FFFFFF#000000##000000
##B770DD1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE1
Deuteranopia (green-blind)
#6C8FDA
Tritanopia (blue-blind)
#B3819C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b770dd;
/* rgb */ color: rgb(183, 112, 221);
/* oklch */ color: oklch(66.5% 0.170 312.7);
Tailwind
colors: {
  custom: {
    50: '#cf9be8',
    500: '#b770dd',
    950: '#000000',
  },
}
SCSS
$custom: #b770dd;
$custom-light: #cf9be8;
$custom-dark: #000000;
JSON
{
  "hex": "#b770dd",
  "rgb": {
    "r": 183,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 279.083,
    "s": 61.582,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66479,
    "c": 0.16993,
    "h": 312.7
  },
  "luminance": 0.26876
}

Semantic roles & 50–950 ramp

primary
#B770DD
secondary
#CFE7C2
accent
#C91C59
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B770DD

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

Preview Lab → · Contrast checker → · Palette generator →

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