#C671F9#C671F9

#C671F9 is a light, highly saturated violet. Relative luminance 0.307; OKLCH L 69.8% C 0.204 H 311.1°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#C671F9
RGBrgb(198, 113, 249)
HSLhsl(278, 92%, 71%)
HSVhsv(278, 55%, 98%)
CMYKcmyk(20.5%, 54.6%, 0%, 2.4%)
CIE-LABlab(62.22, 56.24, -54.96)
CIE-LCHlch(62.22, 78.64, 315.66°)
OKLaboklab(69.8% 0.1342 -0.1541)
OKLCHoklch(69.8% 0.204 311.1)
XYZxyz(46.2896, 30.6565, 93.0830)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C671F9 #A4F971
analogous
#8271F9 #C671F9 #F971E8
triadic
#C671F9 #F9C671 #71F9C6
tetradic
#C671F9 #F98271 #A4F971 #71E8F9
square
#C671F9 #F98271 #A4F971 #71E8F9
split-complementary
#C671F9 #E8F971 #71F982
monochromatic
#930AE6 #AE36F7 #C671F9 #DEACFB #F3E2FE

Accessibility & contrast

On white

2.94
#C671F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#C671F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C671F9
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C671F9#FFFFFF#000000##000000
##C671F91.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4992FD
Deuteranopia (green-blind)
#6698F6
Tritanopia (blue-blind)
#C089AB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c671f9;
/* rgb */ color: rgb(198, 113, 249);
/* oklch */ color: oklch(69.8% 0.204 311.1);
Tailwind
colors: {
  custom: {
    50: '#da9dfc',
    500: '#c671f9',
    950: '#000000',
  },
}
SCSS
$custom: #c671f9;
$custom-light: #da9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c671f9",
  "rgb": {
    "r": 198,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 277.5,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69802,
    "c": 0.20434,
    "h": 311.1
  },
  "luminance": 0.30656
}

Semantic roles & 50–950 ramp

primary
#C671F9
secondary
#DEF5D1
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C671F9

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

Preview Lab → · Contrast checker → · Palette generator →

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