#C671E7#C671E7

#C671E7 is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.8% C 0.185 H 315.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#C671E7
RGBrgb(198, 113, 231)
HSLhsl(283, 71%, 67%)
HSVhsv(283, 51%, 91%)
CMYKcmyk(14.3%, 51.1%, 0%, 9.4%)
CIE-LABlab(61.30, 52.49, -46.45)
CIE-LCHlch(61.30, 70.09, 318.49°)
OKLaboklab(68.83% 0.1328 -0.1293)
OKLCHoklch(68.83% 0.185 315.8)
XYZxyz(43.6154, 29.5869, 78.9991)
Luminance0.2959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C671E7 #92E771
analogous
#8B71E7 #C671E7 #E771CD
triadic
#C671E7 #E7C671 #71E7C6
tetradic
#C671E7 #E78B71 #92E771 #71CDE7
square
#C671E7 #E78B71 #92E771 #71CDE7
split-complementary
#C671E7 #CDE771 #71E78B
monochromatic
#9220BE #B13DDE #C671E7 #DBA5F0 #F0DAF9

Accessibility & contrast

On white

3.04
#C671E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#C671E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C671E7
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C671E7#FFFFFF#000000##000000
##C671E71.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#578FEB
Deuteranopia (green-blind)
#7296E4
Tritanopia (blue-blind)
#C483A2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c671e7;
/* rgb */ color: rgb(198, 113, 231);
/* oklch */ color: oklch(68.8% 0.185 315.8);
Tailwind
colors: {
  custom: {
    50: '#da9def',
    500: '#c671e7',
    950: '#000000',
  },
}
SCSS
$custom: #c671e7;
$custom-light: #da9def;
$custom-dark: #000000;
JSON
{
  "hex": "#c671e7",
  "rgb": {
    "r": 198,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 283.22,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68825,
    "c": 0.18536,
    "h": 315.8
  },
  "luminance": 0.29586
}

Semantic roles & 50–950 ramp

primary
#C671E7
secondary
#D2ECC7
accent
#D31248
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C671E7

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

Preview Lab → · Contrast checker → · Palette generator →

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