#D266F7#D266F7

#D266F7 is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.6% C 0.223 H 316.6°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#D266F7
RGBrgb(210, 102, 247)
HSLhsl(285, 90%, 68%)
HSVhsv(285, 59%, 97%)
CMYKcmyk(15%, 58.7%, 0%, 3.1%)
CIE-LABlab(61.59, 64.07, -54.77)
CIE-LCHlch(61.59, 84.29, 319.47°)
OKLaboklab(69.62% 0.162 -0.1531)
OKLCHoklch(69.62% 0.223 316.6)
XYZxyz(48.1157, 29.9215, 91.2185)
Luminance0.2992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D266F7 #8BF766
analogous
#8966F7 #D266F7 #F766D3
triadic
#D266F7 #F7D266 #66F7D2
tetradic
#D266F7 #F78966 #8BF766 #66D3F7
square
#D266F7 #F78966 #8BF766 #66D3F7
split-complementary
#D266F7 #D3F766 #66F789
monochromatic
#A30BD7 #C12CF4 #D266F7 #E3A0FA #F4DAFD

Accessibility & contrast

On white

3.01
#D266F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#D266F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D266F7
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D266F7#FFFFFF#000000##000000
##D266F71.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8EFC
Deuteranopia (green-blind)
#6898F3
Tritanopia (blue-blind)
#D07EA5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d266f7;
/* rgb */ color: rgb(210, 102, 247);
/* oklch */ color: oklch(69.6% 0.223 316.6);
Tailwind
colors: {
  custom: {
    50: '#e397fa',
    500: '#d266f7',
    950: '#000000',
  },
}
SCSS
$custom: #d266f7;
$custom-light: #e397fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d266f7",
  "rgb": {
    "r": 210,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 284.69,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69619,
    "c": 0.22292,
    "h": 316.6
  },
  "luminance": 0.2992
}

Semantic roles & 50–950 ramp

primary
#D266F7
secondary
#D2F2C7
accent
#E6003B
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D266F7

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

Preview Lab → · Contrast checker → · Palette generator →

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