#D268FA#D268FA

#D268FA is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 70.0% C 0.223 H 315.7°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#D268FA
RGBrgb(210, 104, 250)
HSLhsl(284, 94%, 69%)
HSVhsv(284, 58%, 98%)
CMYKcmyk(16%, 58.4%, 0%, 2%)
CIE-LABlab(62.09, 63.73, -55.63)
CIE-LCHlch(62.09, 84.60, 318.88°)
OKLaboklab(70.04% 0.1596 -0.1557)
OKLCHoklch(70.04% 0.223 315.7)
XYZxyz(48.7813, 30.5060, 93.7426)
Luminance0.3050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D268FA #90FA68
analogous
#8968FA #D268FA #FA68D9
triadic
#D268FA #FAD268 #68FAD2
tetradic
#D268FA #FA8968 #90FA68 #68D9FA
square
#D268FA #FA8968 #90FA68 #68D9FA
split-complementary
#D268FA #D9FA68 #68FA89
monochromatic
#A507E0 #C02DF8 #D268FA #E4A3FC #F5DEFE

Accessibility & contrast

On white

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

On black

7.10
#D268FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D268FA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D268FA#FFFFFF#000000##000000
##D268FA1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E90FF
Deuteranopia (green-blind)
#6899F6
Tritanopia (blue-blind)
#D081A8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d268fa;
/* rgb */ color: rgb(210, 104, 250);
/* oklch */ color: oklch(70.0% 0.223 315.7);
Tailwind
colors: {
  custom: {
    50: '#e398fc',
    500: '#d268fa',
    950: '#000000',
  },
}
SCSS
$custom: #d268fa;
$custom-light: #e398fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d268fa",
  "rgb": {
    "r": 210,
    "g": 104,
    "b": 250
  },
  "hsl": {
    "h": 283.562,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70037,
    "c": 0.22298,
    "h": 315.7
  },
  "luminance": 0.30504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D268FA

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

Preview Lab → · Contrast checker → · Palette generator →

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