#D266EF#D266EF

#D266EF is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.2% C 0.215 H 318.7°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#D266EF
RGBrgb(210, 102, 239)
HSLhsl(287, 81%, 67%)
HSVhsv(287, 57%, 94%)
CMYKcmyk(12.1%, 57.3%, 0%, 6.3%)
CIE-LABlab(61.17, 62.51, -51.00)
CIE-LCHlch(61.17, 80.68, 320.79°)
OKLaboklab(69.18% 0.1617 -0.1422)
OKLCHoklch(69.18% 0.215 318.7)
XYZxyz(46.9076, 29.4383, 84.8559)
Luminance0.2944 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D266EF #83EF66
analogous
#8E66EF #D266EF #EF66C8
triadic
#D266EF #EFD266 #66EFD2
tetradic
#D266EF #EF8E66 #83EF66 #66C8EF
square
#D266EF #EF8E66 #83EF66 #66C8EF
split-complementary
#D266EF #C8EF66 #66EF8E
monochromatic
#A015C6 #C22FE9 #D266EF #E29DF5 #F3D5FB

Accessibility & contrast

On white

3.05
#D266EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#D266EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D266EF
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D266EF#FFFFFF#000000##000000
##D266EF1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#468CF3
Deuteranopia (green-blind)
#6D97EB
Tritanopia (blue-blind)
#D27CA1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d266ef;
/* rgb */ color: rgb(210, 102, 239);
/* oklch */ color: oklch(69.2% 0.215 318.7);
Tailwind
colors: {
  custom: {
    50: '#e397f5',
    500: '#d266ef',
    950: '#000000',
  },
}
SCSS
$custom: #d266ef;
$custom-light: #e397f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d266ef",
  "rgb": {
    "r": 210,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 287.299,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69177,
    "c": 0.2153,
    "h": 318.7
  },
  "luminance": 0.29436
}

Semantic roles & 50–950 ramp

primary
#D266EF
secondary
#CCEEC2
accent
#DD0835
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D266EF

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

Preview Lab → · Contrast checker → · Palette generator →

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