#D295EC#D295EC

#D295EC is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.0% C 0.137 H 315.4°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#D295EC
RGBrgb(210, 149, 236)
HSLhsl(282, 70%, 75%)
HSVhsv(282, 37%, 93%)
CMYKcmyk(11%, 36.9%, 0%, 7.5%)
CIE-LABlab(70.35, 37.94, -34.94)
CIE-LCHlch(70.35, 51.57, 317.36°)
OKLaboklab(75.97% 0.0974 -0.0961)
OKLCHoklch(75.97% 0.137 315.4)
XYZxyz(52.4638, 41.2538, 84.5397)
Luminance0.4125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D295EC #AFEC95
analogous
#A695EC #D295EC #EC95DA
triadic
#D295EC #ECD295 #95ECD2
tetradic
#D295EC #ECA695 #AFEC95 #95DAEC
square
#D295EC #ECA695 #AFEC95 #95DAEC
split-complementary
#D295EC #DAEC95 #95ECA6
monochromatic
#A62DD9 #BC61E3 #D295EC #E8C9F5 #F4E5FA

Accessibility & contrast

On white

2.27
#D295EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#D295EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D295EC
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D295EC#FFFFFF#000000##000000
##D295EC1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EF
Deuteranopia (green-blind)
#96AEE9
Tritanopia (blue-blind)
#D1A0B6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d295ec;
/* rgb */ color: rgb(210, 149, 236);
/* oklch */ color: oklch(76.0% 0.137 315.4);
Tailwind
colors: {
  custom: {
    50: '#e1b5f2',
    500: '#d295ec',
    950: '#000000',
  },
}
SCSS
$custom: #d295ec;
$custom-light: #e1b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d295ec",
  "rgb": {
    "r": 210,
    "g": 149,
    "b": 236
  },
  "hsl": {
    "h": 282.069,
    "s": 69.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75965,
    "c": 0.13681,
    "h": 315.4
  },
  "luminance": 0.41253
}

Semantic roles & 50–950 ramp

primary
#D295EC
secondary
#E1F2D9
accent
#D2144D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D295EC

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

Preview Lab → · Contrast checker → · Palette generator →

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