#C671DF#C671DF

#C671DF is a light, vivid purple. Relative luminance 0.291; OKLCH L 68.4% C 0.177 H 318.2°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#C671DF
RGBrgb(198, 113, 223)
HSLhsl(286, 63%, 66%)
HSVhsv(286, 49%, 87%)
CMYKcmyk(11.2%, 49.3%, 0%, 12.5%)
CIE-LABlab(60.91, 50.87, -42.59)
CIE-LCHlch(60.91, 66.35, 320.06°)
OKLaboklab(68.41% 0.1319 -0.1181)
OKLCHoklch(68.41% 0.177 318.2)
XYZxyz(42.5113, 29.1452, 73.1840)
Luminance0.2914 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C671DF #8ADF71
analogous
#8F71DF #C671DF #DF71C1
triadic
#C671DF #DFC671 #71DFC6
tetradic
#C671DF #DF8F71 #8ADF71 #71C1DF
square
#C671DF #DF8F71 #8ADF71 #71C1DF
split-complementary
#C671DF #C1DF71 #71DF8F
monochromatic
#9027AE #B23FD4 #C671DF #DAA3EA #EED5F6

Accessibility & contrast

On white

3.08
#C671DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#C671DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C671DF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C671DF#FFFFFF#000000##000000
##C671DF1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8DE3
Deuteranopia (green-blind)
#7696DC
Tritanopia (blue-blind)
#C6819E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #c671df;
/* rgb */ color: rgb(198, 113, 223);
/* oklch */ color: oklch(68.4% 0.177 318.2);
Tailwind
colors: {
  custom: {
    50: '#d99ce9',
    500: '#c671df',
    950: '#000000',
  },
}
SCSS
$custom: #c671df;
$custom-light: #d99ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#c671df",
  "rgb": {
    "r": 198,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 286.364,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68413,
    "c": 0.17707,
    "h": 318.2
  },
  "luminance": 0.29144
}

Semantic roles & 50–950 ramp

primary
#C671DF
secondary
#CCE8C4
accent
#CB1B43
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C671DF

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

Preview Lab → · Contrast checker → · Palette generator →

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