#D189FC#D189FC

#D189FC is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.7% C 0.174 H 311.7°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#D189FC
RGBrgb(209, 137, 252)
HSLhsl(278, 95%, 76%)
HSVhsv(278, 46%, 99%)
CMYKcmyk(17.1%, 45.6%, 0%, 1.2%)
CIE-LABlab(68.37, 47.38, -46.79)
CIE-LCHlch(68.37, 66.59, 315.36°)
OKLaboklab(74.68% 0.1159 -0.1302)
OKLCHoklch(74.68% 0.174 311.7)
XYZxyz(52.8078, 38.4759, 96.7213)
Luminance0.3847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D189FC #B4FC89
analogous
#9889FC #D189FC #FC89EE
triadic
#D189FC #FCD189 #89FCD1
tetradic
#D189FC #FC9889 #B4FC89 #89EEFC
square
#D189FC #FC9889 #B4FC89 #89EEFC
split-complementary
#D189FC #EEFC89 #89FC98
monochromatic
#A212F9 #BA4DFA #D189FC #E8C5FE #F3E1FE

Accessibility & contrast

On white

2.42
#D189FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#D189FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D189FC
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D189FC#FFFFFF#000000##000000
##D189FC1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#83A8F9
Tritanopia (blue-blind)
#CD9BB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d189fc;
/* rgb */ color: rgb(209, 137, 252);
/* oklch */ color: oklch(74.7% 0.174 311.7);
Tailwind
colors: {
  custom: {
    50: '#e1adfe',
    500: '#d189fc',
    950: '#000000',
  },
}
SCSS
$custom: #d189fc;
$custom-light: #e1adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d189fc",
  "rgb": {
    "r": 209,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 277.565,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74679,
    "c": 0.17431,
    "h": 311.7
  },
  "luminance": 0.38475
}

Semantic roles & 50–950 ramp

primary
#D189FC
secondary
#E1F6D5
accent
#E60056
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151018
muted
#847F86

Preview Lab

Preview with #D189FC

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

Preview Lab → · Contrast checker → · Palette generator →

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