#D261EC#D261EC

#D261EC is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 68.4% C 0.220 H 319.8°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#D261EC
RGBrgb(210, 97, 236)
HSLhsl(289, 79%, 65%)
HSVhsv(289, 59%, 93%)
CMYKcmyk(11%, 58.9%, 0%, 7.5%)
CIE-LABlab(60.17, 64.23, -50.92)
CIE-LCHlch(60.17, 81.97, 321.59°)
OKLaboklab(68.4% 0.1676 -0.1419)
OKLCHoklch(68.4% 0.22 319.8)
XYZxyz(45.9915, 28.3092, 82.3822)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D261EC #7BEC61
analogous
#8C61EC #D261EC #EC61C0
triadic
#D261EC #ECD261 #61ECD2
tetradic
#D261EC #EC8C61 #7BEC61 #61C0EC
square
#D261EC #EC8C61 #7BEC61 #61C0EC
split-complementary
#D261EC #C0EC61 #61EC8C
monochromatic
#9D17BC #C22AE5 #D261EC #E298F3 #F1CEF9

Accessibility & contrast

On white

3.15
#D261EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#D261EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D261EC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D261EC#FFFFFF#000000##000000
##D261EC1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4189F0
Deuteranopia (green-blind)
#6B95E8
Tritanopia (blue-blind)
#D3779E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d261ec;
/* rgb */ color: rgb(210, 97, 236);
/* oklch */ color: oklch(68.4% 0.220 319.8);
Tailwind
colors: {
  custom: {
    50: '#e394f3',
    500: '#d261ec',
    950: '#000000',
  },
}
SCSS
$custom: #d261ec;
$custom-light: #e394f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d261ec",
  "rgb": {
    "r": 210,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 288.777,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68398,
    "c": 0.21963,
    "h": 319.8
  },
  "luminance": 0.28307
}

Semantic roles & 50–950 ramp

primary
#D261EC
secondary
#C6ECBD
accent
#DB0B32
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D261EC

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

Preview Lab → · Contrast checker → · Palette generator →

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