#D266F8#D266F8

#D266F8 is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 69.7% C 0.224 H 316.4°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#D266F8
RGBrgb(210, 102, 248)
HSLhsl(284, 91%, 69%)
HSVhsv(284, 59%, 97%)
CMYKcmyk(15.3%, 58.9%, 0%, 2.7%)
CIE-LABlab(61.64, 64.26, -55.24)
CIE-LCHlch(61.64, 84.74, 319.32°)
OKLaboklab(69.68% 0.162 -0.1545)
OKLCHoklch(69.68% 0.224 316.4)
XYZxyz(48.2704, 29.9834, 92.0334)
Luminance0.2998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D266F8 #8CF866
analogous
#8966F8 #D266F8 #F866D5
triadic
#D266F8 #F8D266 #66F8D2
tetradic
#D266F8 #F88966 #8CF866 #66D5F8
square
#D266F8 #F88966 #8CF866 #66D5F8
split-complementary
#D266F8 #D5F866 #66F889
monochromatic
#A40ADA #C12BF5 #D266F8 #E3A1FB #F4DBFD

Accessibility & contrast

On white

3.00
#D266F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#D266F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D266F8
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D266F8#FFFFFF#000000##000000
##D266F81.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8EFD
Deuteranopia (green-blind)
#6898F4
Tritanopia (blue-blind)
#D07FA6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d266f8;
/* rgb */ color: rgb(210, 102, 248);
/* oklch */ color: oklch(69.7% 0.224 316.4);
Tailwind
colors: {
  custom: {
    50: '#e397fb',
    500: '#d266f8',
    950: '#000000',
  },
}
SCSS
$custom: #d266f8;
$custom-light: #e397fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d266f8",
  "rgb": {
    "r": 210,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 284.384,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69675,
    "c": 0.22388,
    "h": 316.4
  },
  "luminance": 0.29982
}

Semantic roles & 50–950 ramp

primary
#D266F8
secondary
#D2F3C7
accent
#E6003C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D266F8

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

Preview Lab → · Contrast checker → · Palette generator →

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