#D145FC#D145FC

#D145FC is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 66.3% C 0.268 H 316.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#D145FC
RGBrgb(209, 69, 252)
HSLhsl(286, 97%, 63%)
HSVhsv(286, 73%, 99%)
CMYKcmyk(17.1%, 72.6%, 0%, 1.2%)
CIE-LABlab(56.92, 78.22, -65.01)
CIE-LCHlch(56.92, 101.71, 320.27°)
OKLaboklab(66.33% 0.1954 -0.1829)
OKLCHoklch(66.33% 0.268 316.9)
XYZxyz(45.9907, 24.8418, 94.4490)
Luminance0.2484 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D145FC #70FC45
analogous
#7645FC #D145FC #FC45CB
triadic
#D145FC #FCD145 #45FCD1
tetradic
#D145FC #FC7645 #70FC45 #45CBFC
square
#D145FC #FC7645 #70FC45 #45CBFC
split-complementary
#D145FC #CBFC45 #45FC76
monochromatic
#9603C3 #C209FB #D145FC #E081FD #EFBDFE

Accessibility & contrast

On white

3.52
#D145FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#D145FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D145FC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D145FC#FFFFFF#000000##000000
##D145FC1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#478DF8
Tritanopia (blue-blind)
#CF6C9E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d145fc;
/* rgb */ color: rgb(209, 69, 252);
/* oklch */ color: oklch(66.3% 0.268 316.9);
Tailwind
colors: {
  custom: {
    50: '#e485fe',
    500: '#d145fc',
    950: '#000000',
  },
}
SCSS
$custom: #d145fc;
$custom-light: #e485fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d145fc",
  "rgb": {
    "r": 209,
    "g": 69,
    "b": 252
  },
  "hsl": {
    "h": 285.902,
    "s": 96.825,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66328,
    "c": 0.26767,
    "h": 316.9
  },
  "luminance": 0.2484
}

Semantic roles & 50–950 ramp

primary
#D145FC
secondary
#BDEFAD
accent
#E60036
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #D145FC

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

Preview Lab → · Contrast checker → · Palette generator →

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