#C671EC#C671EC

#C671EC is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.1% C 0.191 H 314.4°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#C671EC
RGBrgb(198, 113, 236)
HSLhsl(281, 76%, 68%)
HSVhsv(281, 52%, 93%)
CMYKcmyk(16.1%, 52.1%, 0%, 7.5%)
CIE-LABlab(61.54, 53.51, -48.83)
CIE-LCHlch(61.54, 72.45, 317.62°)
OKLaboklab(69.09% 0.1333 -0.1362)
OKLCHoklch(69.09% 0.191 314.4)
XYZxyz(44.3317, 29.8734, 82.7715)
Luminance0.2987 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C671EC #97EC71
analogous
#8871EC #C671EC #EC71D5
triadic
#C671EC #ECC671 #71ECC6
tetradic
#C671EC #EC8871 #97EC71 #71D5EC
square
#C671EC #EC8871 #97EC71 #71D5EC
split-complementary
#C671EC #D5EC71 #71EC88
monochromatic
#921BC8 #B03BE5 #C671EC #DCA7F3 #F1DDFA

Accessibility & contrast

On white

3.01
#C671EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#C671EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C671EC
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C671EC#FFFFFF#000000##000000
##C671EC1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F0
Deuteranopia (green-blind)
#6F97E9
Tritanopia (blue-blind)
#C385A4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c671ec;
/* rgb */ color: rgb(198, 113, 236);
/* oklch */ color: oklch(69.1% 0.191 314.4);
Tailwind
colors: {
  custom: {
    50: '#da9df2',
    500: '#c671ec',
    950: '#000000',
  },
}
SCSS
$custom: #c671ec;
$custom-light: #da9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#c671ec",
  "rgb": {
    "r": 198,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 281.463,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6909,
    "c": 0.1906,
    "h": 314.4
  },
  "luminance": 0.29872
}

Semantic roles & 50–950 ramp

primary
#C671EC
secondary
#D5EFCA
accent
#D90D4C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C671EC

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

Preview Lab → · Contrast checker → · Palette generator →

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