#C174DB#C174DB

#C174DB is a light, vivid purple. Relative luminance 0.289; OKLCH L 68.1% C 0.166 H 317.1°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#C174DB
RGBrgb(193, 116, 219)
HSLhsl(285, 59%, 66%)
HSVhsv(285, 47%, 86%)
CMYKcmyk(11.9%, 47%, 0%, 14.1%)
CIE-LABlab(60.73, 47.12, -40.67)
CIE-LCHlch(60.73, 62.24, 319.20°)
OKLaboklab(68.09% 0.1213 -0.1127)
OKLCHoklch(68.09% 0.166 317.1)
XYZxyz(41.0221, 28.9440, 70.4299)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C174DB #8EDB74
analogous
#8D74DB #C174DB #DB74C2
triadic
#C174DB #DBC174 #74DBC1
tetradic
#C174DB #DB8D74 #8EDB74 #74C2DB
square
#C174DB #DB8D74 #8EDB74 #74C2DB
split-complementary
#C174DB #C2DB74 #74DB8D
monochromatic
#892CA9 #AB43CE #C174DB #D7A5E8 #ECD5F4

Accessibility & contrast

On white

3.09
#C174DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#C174DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C174DB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C174DB#FFFFFF#000000##000000
##C174DB1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EDF
Deuteranopia (green-blind)
#7795D8
Tritanopia (blue-blind)
#C0839D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #c174db;
/* rgb */ color: rgb(193, 116, 219);
/* oklch */ color: oklch(68.1% 0.166 317.1);
Tailwind
colors: {
  custom: {
    50: '#d69ee6',
    500: '#c174db',
    950: '#000000',
  },
}
SCSS
$custom: #c174db;
$custom-light: #d69ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#c174db",
  "rgb": {
    "r": 193,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 284.854,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68092,
    "c": 0.1656,
    "h": 317.1
  },
  "luminance": 0.28943
}

Semantic roles & 50–950 ramp

primary
#C174DB
secondary
#CDE7C4
accent
#C61F49
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #C174DB

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

Preview Lab → · Contrast checker → · Palette generator →

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