#D295EF#D295EF

#D295EF is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.1% C 0.140 H 314.4°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#D295EF
RGBrgb(210, 149, 239)
HSLhsl(281, 74%, 76%)
HSVhsv(281, 38%, 94%)
CMYKcmyk(12.1%, 37.7%, 0%, 6.3%)
CIE-LABlab(70.48, 38.55, -36.39)
CIE-LCHlch(70.48, 53.01, 316.65°)
OKLaboklab(76.1% 0.098 -0.1002)
OKLCHoklch(76.1% 0.14 314.4)
XYZxyz(52.9033, 41.4296, 86.8545)
Luminance0.4143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D295EF #B2EF95
analogous
#A595EF #D295EF #EF95DF
triadic
#D295EF #EFD295 #95EFD2
tetradic
#D295EF #EFA595 #B2EF95 #95DFEF
square
#D295EF #EFA595 #B2EF95 #95DFEF
split-complementary
#D295EF #DFEF95 #95EFA5
monochromatic
#A52BDF #BB60E7 #D295EF #E9CAF7 #F4E4FB

Accessibility & contrast

On white

2.26
#D295EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#D295EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D295EF
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D295EF#FFFFFF#000000##000000
##D295EF1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A9F2
Deuteranopia (green-blind)
#95AEEC
Tritanopia (blue-blind)
#D0A1B7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d295ef;
/* rgb */ color: rgb(210, 149, 239);
/* oklch */ color: oklch(76.1% 0.140 314.4);
Tailwind
colors: {
  custom: {
    50: '#e1b5f4',
    500: '#d295ef',
    950: '#000000',
  },
}
SCSS
$custom: #d295ef;
$custom-light: #e1b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d295ef",
  "rgb": {
    "r": 210,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 280.667,
    "s": 73.77,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76098,
    "c": 0.14021,
    "h": 314.4
  },
  "luminance": 0.41429
}

Semantic roles & 50–950 ramp

primary
#D295EF
secondary
#E1F3D8
accent
#D61050
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D295EF

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

Preview Lab → · Contrast checker → · Palette generator →

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