#D266FB#D266FB

#D266FB is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 69.8% C 0.227 H 315.6°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#D266FB
RGBrgb(210, 102, 251)
HSLhsl(283, 95%, 69%)
HSVhsv(283, 59%, 98%)
CMYKcmyk(16.3%, 59.4%, 0%, 1.6%)
CIE-LABlab(61.80, 64.86, -56.64)
CIE-LCHlch(61.80, 86.10, 318.87°)
OKLaboklab(69.85% 0.1621 -0.1586)
OKLCHoklch(69.85% 0.227 315.6)
XYZxyz(48.7396, 30.1711, 94.5042)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D266FB #8FFB66
analogous
#8866FB #D266FB #FB66DA
triadic
#D266FB #FBD266 #66FBD2
tetradic
#D266FB #FB8866 #8FFB66 #66DAFB
square
#D266FB #FB8866 #8FFB66 #66DAFB
split-complementary
#D266FB #DAFB66 #66FB88
monochromatic
#A506E1 #C02AF9 #D266FB #E4A2FD #F5DDFE

Accessibility & contrast

On white

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

On black

7.03
#D266FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D266FB
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D266FB#FFFFFF#000000##000000
##D266FB1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#398FFF
Deuteranopia (green-blind)
#6598F7
Tritanopia (blue-blind)
#CF80A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d266fb;
/* rgb */ color: rgb(210, 102, 251);
/* oklch */ color: oklch(69.8% 0.227 315.6);
Tailwind
colors: {
  custom: {
    50: '#e397fd',
    500: '#d266fb',
    950: '#000000',
  },
}
SCSS
$custom: #d266fb;
$custom-light: #e397fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d266fb",
  "rgb": {
    "r": 210,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 283.49,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69845,
    "c": 0.22676,
    "h": 315.6
  },
  "luminance": 0.30169
}

Semantic roles & 50–950 ramp

primary
#D266FB
secondary
#D5F4C9
accent
#E6003F
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D266FB

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

Preview Lab → · Contrast checker → · Palette generator →

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