#D266FF#D266FF

#D266FF is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 70.1% C 0.231 H 314.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#D266FF
RGBrgb(210, 102, 255)
HSLhsl(282, 100%, 70%)
HSVhsv(282, 60%, 100%)
CMYKcmyk(17.6%, 60%, 0%, 0%)
CIE-LABlab(62.02, 65.65, -58.49)
CIE-LCHlch(62.02, 87.93, 318.30°)
OKLaboklab(70.07% 0.1621 -0.164)
OKLCHoklch(70.07% 0.231 314.7)
XYZxyz(49.3768, 30.4259, 97.8601)
Luminance0.3042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D266FF #93FF66
analogous
#8666FF #D266FF #FF66DF
triadic
#D266FF #FFD266 #66FFD2
tetradic
#D266FF #FF8666 #93FF66 #66DFFF
square
#D266FF #FF8666 #93FF66 #66DFFF
split-complementary
#D266FF #DFFF66 #66FF86
monochromatic
#A600EB #C029FF #D266FF #E4A3FF #F6E0FF

Accessibility & contrast

On white

2.96
#D266FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#D266FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D266FF
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D266FF#FFFFFF#000000##000000
##D266FF1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3390FF
Deuteranopia (green-blind)
#6299FB
Tritanopia (blue-blind)
#CE81A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d266ff;
/* rgb */ color: rgb(210, 102, 255);
/* oklch */ color: oklch(70.1% 0.231 314.7);
Tailwind
colors: {
  custom: {
    50: '#e397ff',
    500: '#d266ff',
    950: '#000000',
  },
}
SCSS
$custom: #d266ff;
$custom-light: #e397ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d266ff",
  "rgb": {
    "r": 210,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 282.353,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.70074,
    "c": 0.23061,
    "h": 314.7
  },
  "luminance": 0.30424
}

Semantic roles & 50–950 ramp

primary
#D266FF
secondary
#D8F6CB
accent
#E60043
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D266FF

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

Preview Lab → · Contrast checker → · Palette generator →

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