#D295FD#D295FD

#D295FD is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.7% C 0.156 H 310.1°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#D295FD
RGBrgb(210, 149, 253)
HSLhsl(275, 96%, 79%)
HSVhsv(275, 41%, 99%)
CMYKcmyk(17%, 41.1%, 0%, 0.8%)
CIE-LABlab(71.07, 41.49, -43.09)
CIE-LCHlch(71.07, 59.82, 313.91°)
OKLaboklab(76.74% 0.1008 -0.1195)
OKLCHoklch(76.74% 0.156 310.1)
XYZxyz(55.0522, 42.2892, 98.1719)
Luminance0.4229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D295FD #C0FD95
analogous
#9E95FD #D295FD #FD95F4
triadic
#D295FD #FDD295 #95FDD2
tetradic
#D295FD #FD9E95 #C0FD95 #95F4FD
square
#D295FD #FD9E95 #C0FD95 #95F4FD
split-complementary
#D295FD #F4FD95 #95FD9E
monochromatic
#9F1DFB #B959FC #D295FD #ECD1FE #F2E1FE

Accessibility & contrast

On white

2.22
#D295FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#D295FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D295FD
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D295FD#FFFFFF#000000##000000
##D295FD1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FABFF
Deuteranopia (green-blind)
#8EAFFA
Tritanopia (blue-blind)
#CDA5BD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d295fd;
/* rgb */ color: rgb(210, 149, 253);
/* oklch */ color: oklch(76.7% 0.156 310.1);
Tailwind
colors: {
  custom: {
    50: '#e1b5fe',
    500: '#d295fd',
    950: '#000000',
  },
}
SCSS
$custom: #d295fd;
$custom-light: #e1b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d295fd",
  "rgb": {
    "r": 210,
    "g": 149,
    "b": 253
  },
  "hsl": {
    "h": 275.192,
    "s": 96.296,
    "l": 78.824
  },
  "oklch": {
    "l": 0.7674,
    "c": 0.15632,
    "h": 310.1
  },
  "luminance": 0.42288
}

Semantic roles & 50–950 ramp

primary
#D295FD
secondary
#E3F7D4
accent
#E6005F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #D295FD

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

Preview Lab → · Contrast checker → · Palette generator →

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