#D266FA#D266FA

#D266FA is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 69.8% C 0.226 H 315.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#D266FA
RGBrgb(210, 102, 250)
HSLhsl(284, 94%, 69%)
HSVhsv(284, 59%, 98%)
CMYKcmyk(16%, 59.2%, 0%, 2%)
CIE-LABlab(61.75, 64.66, -56.17)
CIE-LCHlch(61.75, 85.65, 319.02°)
OKLaboklab(69.79% 0.1621 -0.1572)
OKLCHoklch(69.79% 0.226 315.9)
XYZxyz(48.5824, 30.1082, 93.6763)
Luminance0.3011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D266FA #8EFA66
analogous
#8866FA #D266FA #FA66D8
triadic
#D266FA #FAD266 #66FAD2
tetradic
#D266FA #FA8866 #8EFA66 #66D8FA
square
#D266FA #FA8866 #8EFA66 #66D8FA
split-complementary
#D266FA #D8FA66 #66FA88
monochromatic
#A407DE #C12BF8 #D266FA #E3A1FC #F5DDFE

Accessibility & contrast

On white

2.99
#D266FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#D266FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D266FA
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D266FA#FFFFFF#000000##000000
##D266FA1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8FFF
Deuteranopia (green-blind)
#6698F6
Tritanopia (blue-blind)
#D080A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d266fa;
/* rgb */ color: rgb(210, 102, 250);
/* oklch */ color: oklch(69.8% 0.226 315.9);
Tailwind
colors: {
  custom: {
    50: '#e397fc',
    500: '#d266fa',
    950: '#000000',
  },
}
SCSS
$custom: #d266fa;
$custom-light: #e397fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d266fa",
  "rgb": {
    "r": 210,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 283.784,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69788,
    "c": 0.2258,
    "h": 315.9
  },
  "luminance": 0.30107
}

Semantic roles & 50–950 ramp

primary
#D266FA
secondary
#D4F4C8
accent
#E6003E
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D266FA

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

Preview Lab → · Contrast checker → · Palette generator →

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