#D268F7#D268F7

#D268F7 is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 69.9% C 0.220 H 316.5°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#D268F7
RGBrgb(210, 104, 247)
HSLhsl(284, 90%, 69%)
HSVhsv(284, 58%, 97%)
CMYKcmyk(15%, 57.9%, 0%, 3.1%)
CIE-LABlab(61.93, 63.14, -54.23)
CIE-LCHlch(61.93, 83.23, 319.34°)
OKLaboklab(69.87% 0.1596 -0.1516)
OKLCHoklch(69.87% 0.22 316.5)
XYZxyz(48.3146, 30.3194, 91.2848)
Luminance0.3032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D268F7 #8DF768
analogous
#8B68F7 #D268F7 #F768D4
triadic
#D268F7 #F7D268 #68F7D2
tetradic
#D268F7 #F78B68 #8DF768 #68D4F7
square
#D268F7 #F78B68 #8DF768 #68D4F7
split-complementary
#D268F7 #D4F768 #68F78B
monochromatic
#A40CD9 #C12EF4 #D268F7 #E3A2FA #F5DCFD

Accessibility & contrast

On white

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

On black

7.06
#D268F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D268F7
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D268F7#FFFFFF#000000##000000
##D268F71.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFC
Deuteranopia (green-blind)
#6A99F3
Tritanopia (blue-blind)
#D080A6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d268f7;
/* rgb */ color: rgb(210, 104, 247);
/* oklch */ color: oklch(69.9% 0.220 316.5);
Tailwind
colors: {
  custom: {
    50: '#e398fa',
    500: '#d268f7',
    950: '#000000',
  },
}
SCSS
$custom: #d268f7;
$custom-light: #e398fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d268f7",
  "rgb": {
    "r": 210,
    "g": 104,
    "b": 247
  },
  "hsl": {
    "h": 284.476,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69869,
    "c": 0.22007,
    "h": 316.5
  },
  "luminance": 0.30318
}

Semantic roles & 50–950 ramp

primary
#D268F7
secondary
#D3F3C8
accent
#E6003B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D268F7

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

Preview Lab → · Contrast checker → · Palette generator →

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