#C671F5#C671F5

#C671F5 is a light, highly saturated violet. Relative luminance 0.304; OKLCH L 69.6% C 0.200 H 312.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#C671F5
RGBrgb(198, 113, 245)
HSLhsl(279, 87%, 70%)
HSVhsv(279, 54%, 96%)
CMYKcmyk(19.2%, 53.9%, 0%, 3.9%)
CIE-LABlab(62.01, 55.40, -53.09)
CIE-LCHlch(62.01, 76.73, 316.22°)
OKLaboklab(69.58% 0.134 -0.1486)
OKLCHoklch(69.58% 0.2 312)
XYZxyz(45.6723, 30.4096, 89.8322)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C671F5 #A0F571
analogous
#8471F5 #C671F5 #F571E2
triadic
#C671F5 #F5C671 #71F5C6
tetradic
#C671F5 #F58471 #A0F571 #71E2F5
square
#C671F5 #F58471 #A0F571 #71E2F5
split-complementary
#C671F5 #E2F571 #71F584
monochromatic
#9310DC #AF38F1 #C671F5 #DDAAF9 #F4E2FD

Accessibility & contrast

On white

2.97
#C671F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#C671F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C671F5
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C671F5#FFFFFF#000000##000000
##C671F51.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C91F9
Deuteranopia (green-blind)
#6998F2
Tritanopia (blue-blind)
#C187A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c671f5;
/* rgb */ color: rgb(198, 113, 245);
/* oklch */ color: oklch(69.6% 0.200 312.0);
Tailwind
colors: {
  custom: {
    50: '#da9df9',
    500: '#c671f5',
    950: '#000000',
  },
}
SCSS
$custom: #c671f5;
$custom-light: #da9df9;
$custom-dark: #000000;
JSON
{
  "hex": "#c671f5",
  "rgb": {
    "r": 198,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 278.636,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69579,
    "c": 0.2001,
    "h": 312
  },
  "luminance": 0.30409
}

Semantic roles & 50–950 ramp

primary
#C671F5
secondary
#DCF3CF
accent
#E30252
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C671F5

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

Preview Lab → · Contrast checker → · Palette generator →

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