#D268F2#D268F2

#D268F2 is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 69.6% C 0.215 H 317.8°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#D268F2
RGBrgb(210, 104, 242)
HSLhsl(286, 84%, 68%)
HSVhsv(286, 57%, 95%)
CMYKcmyk(13.2%, 57%, 0%, 5.1%)
CIE-LABlab(61.67, 62.16, -51.88)
CIE-LCHlch(61.67, 80.96, 320.15°)
OKLaboklab(69.59% 0.1594 -0.1447)
OKLCHoklch(69.59% 0.215 317.8)
XYZxyz(47.5534, 30.0149, 87.2757)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D268F2 #88F268
analogous
#8D68F2 #D268F2 #F268CD
triadic
#D268F2 #F2D268 #68F2D2
tetradic
#D268F2 #F28D68 #88F268 #68CDF2
square
#D268F2 #F28D68 #88F268 #68CDF2
split-complementary
#D268F2 #CDF268 #68F28D
monochromatic
#A212CE #C130ED #D268F2 #E3A0F7 #F4D9FC

Accessibility & contrast

On white

3.00
#D268F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#D268F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D268F2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D268F2#FFFFFF#000000##000000
##D268F21.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#468EF6
Deuteranopia (green-blind)
#6D98EE
Tritanopia (blue-blind)
#D17EA3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d268f2;
/* rgb */ color: rgb(210, 104, 242);
/* oklch */ color: oklch(69.6% 0.215 317.8);
Tailwind
colors: {
  custom: {
    50: '#e398f7',
    500: '#d268f2',
    950: '#000000',
  },
}
SCSS
$custom: #d268f2;
$custom-light: #e398f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d268f2",
  "rgb": {
    "r": 210,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 286.087,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69593,
    "c": 0.21526,
    "h": 317.8
  },
  "luminance": 0.30013
}

Semantic roles & 50–950 ramp

primary
#D268F2
secondary
#CFF0C6
accent
#E10538
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D268F2

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

Preview Lab → · Contrast checker → · Palette generator →

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