#D189F9#D189F9

#D189F9 is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.5% C 0.171 H 312.5°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#D189F9
RGBrgb(209, 137, 249)
HSLhsl(279, 90%, 76%)
HSVhsv(279, 45%, 98%)
CMYKcmyk(16.1%, 45%, 0%, 2.4%)
CIE-LABlab(68.23, 46.75, -45.37)
CIE-LCHlch(68.23, 65.15, 315.86°)
OKLaboklab(74.53% 0.1155 -0.126)
OKLCHoklch(74.53% 0.171 312.5)
XYZxyz(52.3361, 38.2873, 94.2373)
Luminance0.3829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D189F9 #B1F989
analogous
#9989F9 #D189F9 #F989E9
triadic
#D189F9 #F9D189 #89F9D1
tetradic
#D189F9 #F99989 #B1F989 #89E9F9
square
#D189F9 #F99989 #B1F989 #89E9F9
split-complementary
#D189F9 #E9F989 #89F999
monochromatic
#A415F3 #BA4FF6 #D189F9 #E8C3FC #F4E2FE

Accessibility & contrast

On white

2.43
#D189F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#D189F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D189F9
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D189F9#FFFFFF#000000##000000
##D189F91.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FD
Deuteranopia (green-blind)
#85A8F6
Tritanopia (blue-blind)
#CD9AB5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d189f9;
/* rgb */ color: rgb(209, 137, 249);
/* oklch */ color: oklch(74.5% 0.171 312.5);
Tailwind
colors: {
  custom: {
    50: '#e1adfb',
    500: '#d189f9',
    950: '#000000',
  },
}
SCSS
$custom: #d189f9;
$custom-light: #e1adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d189f9",
  "rgb": {
    "r": 209,
    "g": 137,
    "b": 249
  },
  "hsl": {
    "h": 278.571,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7453,
    "c": 0.17097,
    "h": 312.5
  },
  "luminance": 0.38286
}

Semantic roles & 50–950 ramp

primary
#D189F9
secondary
#E1F6D5
accent
#E60052
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151017
muted
#847F85

Preview Lab

Preview with #D189F9

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

Preview Lab → · Contrast checker → · Palette generator →

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