#C671F3#C671F3

#C671F3 is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.5% C 0.198 H 312.5°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#C671F3
RGBrgb(198, 113, 243)
HSLhsl(279, 84%, 70%)
HSVhsv(279, 53%, 95%)
CMYKcmyk(18.5%, 53.5%, 0%, 4.7%)
CIE-LABlab(61.90, 54.97, -52.15)
CIE-LCHlch(61.90, 75.77, 316.51°)
OKLaboklab(69.47% 0.1339 -0.1459)
OKLCHoklch(69.47% 0.198 312.5)
XYZxyz(45.3687, 30.2882, 88.2329)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C671F3 #9EF371
analogous
#8571F3 #C671F3 #F371DF
triadic
#C671F3 #F3C671 #71F3C6
tetradic
#C671F3 #F38571 #9EF371 #71DFF3
square
#C671F3 #F38571 #9EF371 #71DFF3
split-complementary
#C671F3 #DFF371 #71F385
monochromatic
#9312D7 #AF39EE #C671F3 #DDA9F8 #F3E2FD

Accessibility & contrast

On white

2.98
#C671F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#C671F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C671F3
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C671F3#FFFFFF#000000##000000
##C671F31.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E91F7
Deuteranopia (green-blind)
#6A97F0
Tritanopia (blue-blind)
#C187A8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c671f3;
/* rgb */ color: rgb(198, 113, 243);
/* oklch */ color: oklch(69.5% 0.198 312.5);
Tailwind
colors: {
  custom: {
    50: '#da9df7',
    500: '#c671f3',
    950: '#000000',
  },
}
SCSS
$custom: #c671f3;
$custom-light: #da9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#c671f3",
  "rgb": {
    "r": 198,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 279.231,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69469,
    "c": 0.19799,
    "h": 312.5
  },
  "luminance": 0.30287
}

Semantic roles & 50–950 ramp

primary
#C671F3
secondary
#DAF2CE
accent
#E10551
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C671F3

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

Preview Lab → · Contrast checker → · Palette generator →

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