#B770DC#B770DC

#B770DC is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.4% C 0.169 H 313.0°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B770DC
RGBrgb(183, 112, 220)
HSLhsl(279, 61%, 65%)
HSVhsv(279, 49%, 86%)
CMYKcmyk(16.8%, 49.1%, 0%, 13.7%)
CIE-LABlab(58.81, 46.65, -44.33)
CIE-LCHlch(58.81, 64.36, 316.46°)
OKLaboklab(66.43% 0.1151 -0.1235)
OKLCHoklch(66.43% 0.169 313)
XYZxyz(38.2387, 26.8238, 70.8594)
Luminance0.2682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B770DC #95DC70
analogous
#8170DC #B770DC #DC70CB
triadic
#B770DC #DCB770 #70DCB7
tetradic
#B770DC #DC8170 #95DC70 #70CBDC
square
#B770DC #DC8170 #95DC70 #70CBDC
split-complementary
#B770DC #CBDC70 #70DC81
monochromatic
#7D29A8 #9E3FD0 #B770DC #D0A1E8 #E9D2F4

Accessibility & contrast

On white

3.30
#B770DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#B770DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B770DC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B770DC#FFFFFF#000000##000000
##B770DC1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE0
Deuteranopia (green-blind)
#6C8FD9
Tritanopia (blue-blind)
#B4819C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b770dc;
/* rgb */ color: rgb(183, 112, 220);
/* oklch */ color: oklch(66.4% 0.169 313.0);
Tailwind
colors: {
  custom: {
    50: '#cf9be7',
    500: '#b770dc',
    950: '#000000',
  },
}
SCSS
$custom: #b770dc;
$custom-light: #cf9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#b770dc",
  "rgb": {
    "r": 183,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 279.444,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66426,
    "c": 0.16882,
    "h": 313
  },
  "luminance": 0.26823
}

Semantic roles & 50–950 ramp

primary
#B770DC
secondary
#CEE6C2
accent
#C81D58
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B770DC

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

Preview Lab → · Contrast checker → · Palette generator →

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