#D295FB#D295FB

#D295FB is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.6% C 0.154 H 310.7°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#D295FB
RGBrgb(210, 149, 251)
HSLhsl(276, 93%, 78%)
HSVhsv(276, 41%, 98%)
CMYKcmyk(16.3%, 40.6%, 0%, 1.6%)
CIE-LABlab(70.98, 41.06, -42.14)
CIE-LCHlch(70.98, 58.84, 314.26°)
OKLaboklab(76.65% 0.1004 -0.1168)
OKLCHoklch(76.65% 0.154 310.7)
XYZxyz(54.7353, 42.1624, 96.5028)
Luminance0.4216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D295FB #BEFB95
analogous
#9F95FB #D295FB #FB95F1
triadic
#D295FB #FBD295 #95FBD2
tetradic
#D295FB #FB9F95 #BEFB95 #95F1FB
square
#D295FB #FB9F95 #BEFB95 #95F1FB
split-complementary
#D295FB #F1FB95 #95FB9F
monochromatic
#A01FF7 #B95AF9 #D295FB #EBD0FD #F2E2FE

Accessibility & contrast

On white

2.23
#D295FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#D295FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D295FB
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D295FB#FFFFFF#000000##000000
##D295FB1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d295fb;
/* rgb */ color: rgb(210, 149, 251);
/* oklch */ color: oklch(76.6% 0.154 310.7);
Tailwind
colors: {
  custom: {
    50: '#e1b5fd',
    500: '#d295fb',
    950: '#000000',
  },
}
SCSS
$custom: #d295fb;
$custom-light: #e1b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d295fb",
  "rgb": {
    "r": 210,
    "g": 149,
    "b": 251
  },
  "hsl": {
    "h": 275.882,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76646,
    "c": 0.154,
    "h": 310.7
  },
  "luminance": 0.42162
}

Semantic roles & 50–950 ramp

primary
#D295FB
secondary
#E2F6D5
accent
#E6005C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #D295FB

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

Preview Lab → · Contrast checker → · Palette generator →

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