#D268F8#D268F8

#D268F8 is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 69.9% C 0.221 H 316.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#D268F8
RGBrgb(210, 104, 248)
HSLhsl(284, 91%, 69%)
HSVhsv(284, 58%, 97%)
CMYKcmyk(15.3%, 58.1%, 0%, 2.7%)
CIE-LABlab(61.98, 63.34, -54.69)
CIE-LCHlch(61.98, 83.68, 319.19°)
OKLaboklab(69.92% 0.1596 -0.1529)
OKLCHoklch(69.92% 0.221 316.2)
XYZxyz(48.4694, 30.3813, 92.0997)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D268F8 #8EF868
analogous
#8A68F8 #D268F8 #F868D6
triadic
#D268F8 #F8D268 #68F8D2
tetradic
#D268F8 #F88A68 #8EF868 #68D6F8
square
#D268F8 #F88A68 #8EF868 #68D6F8
split-complementary
#D268F8 #D6F868 #68F88A
monochromatic
#A40ADB #C12EF5 #D268F8 #E3A2FB #F5DDFD

Accessibility & contrast

On white

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

On black

7.08
#D268F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D268F8
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D268F8#FFFFFF#000000##000000
##D268F81.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFD
Deuteranopia (green-blind)
#6999F4
Tritanopia (blue-blind)
#D080A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d268f8;
/* rgb */ color: rgb(210, 104, 248);
/* oklch */ color: oklch(69.9% 0.221 316.2);
Tailwind
colors: {
  custom: {
    50: '#e398fb',
    500: '#d268f8',
    950: '#000000',
  },
}
SCSS
$custom: #d268f8;
$custom-light: #e398fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d268f8",
  "rgb": {
    "r": 210,
    "g": 104,
    "b": 248
  },
  "hsl": {
    "h": 284.167,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69924,
    "c": 0.22104,
    "h": 316.2
  },
  "luminance": 0.3038
}

Semantic roles & 50–950 ramp

primary
#D268F8
secondary
#D4F3C9
accent
#E6003D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D268F8

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

Preview Lab → · Contrast checker → · Palette generator →

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