#D185FC#D185FC

#D185FC is a light, vivid violet. Relative luminance 0.374; OKLCH L 74.1% C 0.181 H 312.2°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#D185FC
RGBrgb(209, 133, 252)
HSLhsl(278, 95%, 75%)
HSVhsv(278, 47%, 99%)
CMYKcmyk(17.1%, 47.2%, 0%, 1.2%)
CIE-LABlab(67.55, 49.48, -48.09)
CIE-LCHlch(67.55, 69.00, 315.82°)
OKLaboklab(74.06% 0.1214 -0.1339)
OKLCHoklch(74.06% 0.181 312.2)
XYZxyz(52.2497, 37.3597, 96.5353)
Luminance0.3736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D185FC #B0FC85
analogous
#9585FC #D185FC #FC85EC
triadic
#D185FC #FCD185 #85FCD1
tetradic
#D185FC #FC9585 #B0FC85 #85ECFC
square
#D185FC #FC9585 #B0FC85 #85ECFC
split-complementary
#D185FC #ECFC85 #85FC95
monochromatic
#A40EF9 #BA49FB #D185FC #E8C1FD #F4E1FE

Accessibility & contrast

On white

2.48
#D185FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#D185FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D185FC
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D185FC#FFFFFF#000000##000000
##D185FC1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#80A6F9
Tritanopia (blue-blind)
#CD98B5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d185fc;
/* rgb */ color: rgb(209, 133, 252);
/* oklch */ color: oklch(74.1% 0.181 312.2);
Tailwind
colors: {
  custom: {
    50: '#e1aafe',
    500: '#d185fc',
    950: '#000000',
  },
}
SCSS
$custom: #d185fc;
$custom-light: #e1aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#d185fc",
  "rgb": {
    "r": 209,
    "g": 133,
    "b": 252
  },
  "hsl": {
    "h": 278.319,
    "s": 95.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74064,
    "c": 0.18071,
    "h": 312.2
  },
  "luminance": 0.37359
}

Semantic roles & 50–950 ramp

primary
#D185FC
secondary
#E1F6D5
accent
#E60053
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D185FC

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

Preview Lab → · Contrast checker → · Palette generator →

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