#D245FC#D245FC

#D245FC is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.5% C 0.268 H 317.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#D245FC
RGBrgb(210, 69, 252)
HSLhsl(286, 97%, 63%)
HSVhsv(286, 73%, 99%)
CMYKcmyk(16.7%, 72.6%, 0%, 1.2%)
CIE-LABlab(57.06, 78.41, -64.78)
CIE-LCHlch(57.06, 101.71, 320.44°)
OKLaboklab(66.46% 0.1966 -0.1822)
OKLCHoklch(66.46% 0.268 317.2)
XYZxyz(46.2746, 24.9881, 94.4623)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D245FC #6FFC45
analogous
#7745FC #D245FC #FC45CA
triadic
#D245FC #FCD245 #45FCD2
tetradic
#D245FC #FC7745 #6FFC45 #45CAFC
square
#D245FC #FC7745 #6FFC45 #45CAFC
split-complementary
#D245FC #CAFC45 #45FC77
monochromatic
#9703C3 #C309FB #D245FC #E181FD #EFBDFE

Accessibility & contrast

On white

3.50
#D245FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#D245FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D245FC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D245FC#FFFFFF#000000##000000
##D245FC1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d245fc;
/* rgb */ color: rgb(210, 69, 252);
/* oklch */ color: oklch(66.5% 0.268 317.2);
Tailwind
colors: {
  custom: {
    50: '#e486fe',
    500: '#d245fc',
    950: '#000000',
  },
}
SCSS
$custom: #d245fc;
$custom-light: #e486fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d245fc",
  "rgb": {
    "r": 210,
    "g": 69,
    "b": 252
  },
  "hsl": {
    "h": 286.23,
    "s": 96.825,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66459,
    "c": 0.26803,
    "h": 317.2
  },
  "luminance": 0.24986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D245FC

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

Preview Lab → · Contrast checker → · Palette generator →

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