#D266FE#D266FE

#D266FE is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 70.0% C 0.230 H 314.9°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#D266FE
RGBrgb(210, 102, 254)
HSLhsl(283, 99%, 70%)
HSVhsv(283, 60%, 100%)
CMYKcmyk(17.3%, 59.8%, 0%, 0.4%)
CIE-LABlab(61.97, 65.45, -58.03)
CIE-LCHlch(61.97, 87.47, 318.44°)
OKLaboklab(70.02% 0.1621 -0.1627)
OKLCHoklch(70.02% 0.23 314.9)
XYZxyz(49.2162, 30.3617, 97.0146)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D266FE #92FE66
analogous
#8666FE #D266FE #FE66DE
triadic
#D266FE #FED266 #66FED2
tetradic
#D266FE #FE8666 #92FE66 #66DEFE
square
#D266FE #FE8666 #92FE66 #66DEFE
split-complementary
#D266FE #DEFE66 #66FE86
monochromatic
#A502E8 #C029FE #D266FE #E4A3FE #F6E0FF

Accessibility & contrast

On white

2.97
#D266FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#D266FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D266FE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D266FE#FFFFFF#000000##000000
##D266FE1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#348FFF
Deuteranopia (green-blind)
#6399FA
Tritanopia (blue-blind)
#CF81A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d266fe;
/* rgb */ color: rgb(210, 102, 254);
/* oklch */ color: oklch(70.0% 0.230 314.9);
Tailwind
colors: {
  custom: {
    50: '#e397ff',
    500: '#d266fe',
    950: '#000000',
  },
}
SCSS
$custom: #d266fe;
$custom-light: #e397ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d266fe",
  "rgb": {
    "r": 210,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 282.632,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70017,
    "c": 0.22965,
    "h": 314.9
  },
  "luminance": 0.3036
}

Semantic roles & 50–950 ramp

primary
#D266FE
secondary
#D7F5CA
accent
#E60042
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D266FE

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

Preview Lab → · Contrast checker → · Palette generator →

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