#C671FC#C671FC

#C671FC is a light, highly saturated violet. Relative luminance 0.308; OKLCH L 70.0% C 0.208 H 310.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#C671FC
RGBrgb(198, 113, 252)
HSLhsl(277, 96%, 72%)
HSVhsv(277, 55%, 99%)
CMYKcmyk(21.4%, 55.2%, 0%, 1.2%)
CIE-LABlab(62.38, 56.89, -56.36)
CIE-LCHlch(62.38, 80.08, 315.27°)
OKLaboklab(69.97% 0.1344 -0.1582)
OKLCHoklch(69.97% 0.208 310.3)
XYZxyz(46.7612, 30.8452, 95.5670)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C671FC #A7FC71
analogous
#8171FC #C671FC #FC71EC
triadic
#C671FC #FCC671 #71FCC6
tetradic
#C671FC #FC8171 #A7FC71 #71ECFC
square
#C671FC #FC8171 #A7FC71 #71ECFC
split-complementary
#C671FC #ECFC71 #71FC81
monochromatic
#9305EE #AE35FB #C671FC #DEADFD #F3E1FE

Accessibility & contrast

On white

2.93
#C671FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#C671FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C671FC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C671FC#FFFFFF#000000##000000
##C671FC1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#6498F9
Tritanopia (blue-blind)
#BF8AAC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c671fc;
/* rgb */ color: rgb(198, 113, 252);
/* oklch */ color: oklch(70.0% 0.208 310.3);
Tailwind
colors: {
  custom: {
    50: '#da9dfe',
    500: '#c671fc',
    950: '#000000',
  },
}
SCSS
$custom: #c671fc;
$custom-light: #da9dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c671fc",
  "rgb": {
    "r": 198,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 276.691,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69971,
    "c": 0.20753,
    "h": 310.3
  },
  "luminance": 0.30844
}

Semantic roles & 50–950 ramp

primary
#C671FC
secondary
#E0F6D3
accent
#E60059
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C671FC

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

Preview Lab → · Contrast checker → · Palette generator →

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