#D770EC#D770EC

#D770EC is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.9% C 0.200 H 320.6°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#D770EC
RGBrgb(215, 112, 236)
HSLhsl(290, 77%, 68%)
HSVhsv(290, 53%, 93%)
CMYKcmyk(8.9%, 52.5%, 0%, 7.5%)
CIE-LABlab(63.42, 58.47, -45.74)
CIE-LCHlch(63.42, 74.23, 321.97°)
OKLaboklab(70.91% 0.1545 -0.1268)
OKLCHoklch(70.91% 0.2 320.6)
XYZxyz(48.9570, 32.0936, 82.9565)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D770EC #85EC70
analogous
#9970EC #D770EC #EC70C3
triadic
#D770EC #ECD770 #70ECD7
tetradic
#D770EC #EC9970 #85EC70 #70C3EC
square
#D770EC #EC9970 #85EC70 #70C3EC
split-complementary
#D770EC #C3EC70 #70EC99
monochromatic
#AA1AC7 #C83AE5 #D770EC #E6A6F3 #F5DCFA

Accessibility & contrast

On white

2.83
#D770EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#D770EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D770EC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D770EC#FFFFFF#000000##000000
##D770EC1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#7B9DE9
Tritanopia (blue-blind)
#D981A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d770ec;
/* rgb */ color: rgb(215, 112, 236);
/* oklch */ color: oklch(70.9% 0.200 320.6);
Tailwind
colors: {
  custom: {
    50: '#e69df2',
    500: '#d770ec',
    950: '#000000',
  },
}
SCSS
$custom: #d770ec;
$custom-light: #e69df2;
$custom-dark: #000000;
JSON
{
  "hex": "#d770ec",
  "rgb": {
    "r": 215,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 289.839,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70914,
    "c": 0.19987,
    "h": 320.6
  },
  "luminance": 0.32092
}

Semantic roles & 50–950 ramp

primary
#D770EC
secondary
#CFEFC9
accent
#D90D2F
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D770EC

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

Preview Lab → · Contrast checker → · Palette generator →

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