#D295FE#D295FE

#D295FE is a light, vivid violet. Relative luminance 0.424; OKLCH L 76.8% C 0.157 H 309.9°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#D295FE
RGBrgb(210, 149, 254)
HSLhsl(275, 98%, 79%)
HSVhsv(275, 41%, 100%)
CMYKcmyk(17.3%, 41.3%, 0%, 0.4%)
CIE-LABlab(71.11, 41.70, -43.57)
CIE-LCHlch(71.11, 60.31, 313.75°)
OKLaboklab(76.79% 0.101 -0.1209)
OKLCHoklch(76.79% 0.157 309.9)
XYZxyz(55.2119, 42.3531, 99.0131)
Luminance0.4235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D295FE #C1FE95
analogous
#9E95FE #D295FE #FE95F6
triadic
#D295FE #FED295 #95FED2
tetradic
#D295FE #FE9E95 #C1FE95 #95F6FE
square
#D295FE #FE9E95 #C1FE95 #95F6FE
split-complementary
#D295FE #F6FE95 #95FE9E
monochromatic
#9F1CFD #B858FD #D295FE #ECD2FF #F2E1FF

Accessibility & contrast

On white

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

On black

9.47
#D295FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D295FE
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D295FE#FFFFFF#000000##000000
##D295FE1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d295fe;
/* rgb */ color: rgb(210, 149, 254);
/* oklch */ color: oklch(76.8% 0.157 309.9);
Tailwind
colors: {
  custom: {
    50: '#e1b5ff',
    500: '#d295fe',
    950: '#000000',
  },
}
SCSS
$custom: #d295fe;
$custom-light: #e1b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d295fe",
  "rgb": {
    "r": 210,
    "g": 149,
    "b": 254
  },
  "hsl": {
    "h": 274.857,
    "s": 98.131,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76788,
    "c": 0.15749,
    "h": 309.9
  },
  "luminance": 0.42352
}

Semantic roles & 50–950 ramp

primary
#D295FE
secondary
#E3F7D4
accent
#E60060
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151118
muted
#848086

Preview Lab

Preview with #D295FE

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

Preview Lab → · Contrast checker → · Palette generator →

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