#D295FC#D295FC

#D295FC is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.7% C 0.155 H 310.4°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#D295FC
RGBrgb(210, 149, 252)
HSLhsl(276, 94%, 79%)
HSVhsv(276, 41%, 99%)
CMYKcmyk(16.7%, 40.9%, 0%, 1.2%)
CIE-LABlab(71.03, 41.27, -42.62)
CIE-LCHlch(71.03, 59.33, 314.08°)
OKLaboklab(76.69% 0.1006 -0.1181)
OKLCHoklch(76.69% 0.155 310.4)
XYZxyz(54.8933, 42.2256, 97.3352)
Luminance0.4223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D295FC #BFFC95
analogous
#9E95FC #D295FC #FC95F2
triadic
#D295FC #FCD295 #95FCD2
tetradic
#D295FC #FC9E95 #BFFC95 #95F2FC
square
#D295FC #FC9E95 #BFFC95 #95F2FC
split-complementary
#D295FC #F2FC95 #95FC9E
monochromatic
#9F1EF9 #B959FA #D295FC #EBD1FE #F2E1FE

Accessibility & contrast

On white

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

On black

9.45
#D295FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D295FC
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D295FC#FFFFFF#000000##000000
##D295FC1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#8FAFF9
Tritanopia (blue-blind)
#CDA4BD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d295fc;
/* rgb */ color: rgb(210, 149, 252);
/* oklch */ color: oklch(76.7% 0.155 310.4);
Tailwind
colors: {
  custom: {
    50: '#e1b5fd',
    500: '#d295fc',
    950: '#000000',
  },
}
SCSS
$custom: #d295fc;
$custom-light: #e1b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d295fc",
  "rgb": {
    "r": 210,
    "g": 149,
    "b": 252
  },
  "hsl": {
    "h": 275.534,
    "s": 94.495,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76693,
    "c": 0.15516,
    "h": 310.4
  },
  "luminance": 0.42225
}

Semantic roles & 50–950 ramp

primary
#D295FC
secondary
#E2F6D5
accent
#E6005E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #D295FC

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

Preview Lab → · Contrast checker → · Palette generator →

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