#D475F2#D475F2

#D475F2 is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.6% C 0.197 H 317.5°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#D475F2
RGBrgb(212, 117, 242)
HSLhsl(286, 83%, 70%)
HSVhsv(286, 52%, 95%)
CMYKcmyk(12.4%, 51.7%, 0%, 5.1%)
CIE-LABlab(64.27, 56.40, -47.74)
CIE-LCHlch(64.27, 73.89, 319.75°)
OKLaboklab(71.56% 0.1451 -0.1327)
OKLCHoklch(71.56% 0.197 317.5)
XYZxyz(49.5374, 33.1322, 87.7729)
Luminance0.3313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D475F2 #93F275
analogous
#9575F2 #D475F2 #F275D1
triadic
#D475F2 #F2D475 #75F2D4
tetradic
#D475F2 #F29575 #93F275 #75D1F2
square
#D475F2 #F29575 #93F275 #75D1F2
split-complementary
#D475F2 #D1F275 #75F295
monochromatic
#A914D8 #C33DED #D475F2 #E5ADF7 #F6E3FC

Accessibility & contrast

On white

2.75
#D475F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#D475F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D475F2
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D475F2#FFFFFF#000000##000000
##D475F21.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F6
Deuteranopia (green-blind)
#799FEF
Tritanopia (blue-blind)
#D388A9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d475f2;
/* rgb */ color: rgb(212, 117, 242);
/* oklch */ color: oklch(71.6% 0.197 317.5);
Tailwind
colors: {
  custom: {
    50: '#e4a0f7',
    500: '#d475f2',
    950: '#000000',
  },
}
SCSS
$custom: #d475f2;
$custom-light: #e4a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d475f2",
  "rgb": {
    "r": 212,
    "g": 117,
    "b": 242
  },
  "hsl": {
    "h": 285.6,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71555,
    "c": 0.19663,
    "h": 317.5
  },
  "luminance": 0.3313
}

Semantic roles & 50–950 ramp

primary
#D475F2
secondary
#D8F3D0
accent
#DF063A
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D475F2

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

Preview Lab → · Contrast checker → · Palette generator →

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