#D266E7#D266E7

#D266E7 is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 68.7% C 0.208 H 320.9°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#D266E7
RGBrgb(210, 102, 231)
HSLhsl(290, 73%, 65%)
HSVhsv(290, 56%, 91%)
CMYKcmyk(9.1%, 55.8%, 0%, 9.4%)
CIE-LABlab(60.76, 60.99, -47.19)
CIE-LCHlch(60.76, 77.12, 322.27°)
OKLaboklab(68.75% 0.1612 -0.1311)
OKLCHoklch(68.75% 0.208 320.9)
XYZxyz(45.7518, 28.9760, 78.7688)
Luminance0.2897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D266E7 #7BE766
analogous
#9266E7 #D266E7 #E766BB
triadic
#D266E7 #E7D266 #66E7D2
tetradic
#D266E7 #E79266 #7BE766 #66BBE7
square
#D266E7 #E79266 #7BE766 #66BBE7
split-complementary
#D266E7 #BBE766 #66E792
monochromatic
#9D1DB6 #C231DF #D266E7 #E29BEF #F1D0F8

Accessibility & contrast

On white

3.09
#D266E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#D266E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D266E7
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D266E7#FFFFFF#000000##000000
##D266E71.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8BEB
Deuteranopia (green-blind)
#7297E4
Tritanopia (blue-blind)
#D4799D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d266e7;
/* rgb */ color: rgb(210, 102, 231);
/* oklch */ color: oklch(68.7% 0.208 320.9);
Tailwind
colors: {
  custom: {
    50: '#e397ef',
    500: '#d266e7',
    950: '#000000',
  },
}
SCSS
$custom: #d266e7;
$custom-light: #e397ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d266e7",
  "rgb": {
    "r": 210,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 290.233,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68749,
    "c": 0.20775,
    "h": 320.9
  },
  "luminance": 0.28974
}

Semantic roles & 50–950 ramp

primary
#D266E7
secondary
#C6EABF
accent
#D51131
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D266E7

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

Preview Lab → · Contrast checker → · Palette generator →

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