#D188FC#D188FC

#D188FC is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.5% C 0.176 H 311.8°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#D188FC
RGBrgb(209, 136, 252)
HSLhsl(278, 95%, 76%)
HSVhsv(278, 46%, 99%)
CMYKcmyk(17.1%, 46%, 0%, 1.2%)
CIE-LABlab(68.16, 47.91, -47.12)
CIE-LCHlch(68.16, 67.20, 315.48°)
OKLaboklab(74.52% 0.1173 -0.1311)
OKLCHoklch(74.52% 0.176 311.8)
XYZxyz(52.6663, 38.1929, 96.6742)
Luminance0.3819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D188FC #B3FC88
analogous
#9788FC #D188FC #FC88ED
triadic
#D188FC #FCD188 #88FCD1
tetradic
#D188FC #FC9788 #B3FC88 #88EDFC
square
#D188FC #FC9788 #B3FC88 #88EDFC
split-complementary
#D188FC #EDFC88 #88FC97
monochromatic
#A311F9 #BA4CFA #D188FC #E8C4FE #F3E1FE

Accessibility & contrast

On white

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

On black

8.64
#D188FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D188FC
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D188FC#FFFFFF#000000##000000
##D188FC1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#82A8F9
Tritanopia (blue-blind)
#CD9AB6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d188fc;
/* rgb */ color: rgb(209, 136, 252);
/* oklch */ color: oklch(74.5% 0.176 311.8);
Tailwind
colors: {
  custom: {
    50: '#e1acfe',
    500: '#d188fc',
    950: '#000000',
  },
}
SCSS
$custom: #d188fc;
$custom-light: #e1acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d188fc",
  "rgb": {
    "r": 209,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 277.759,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74524,
    "c": 0.17592,
    "h": 311.8
  },
  "luminance": 0.38192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D188FC

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

Preview Lab → · Contrast checker → · Palette generator →

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