#C671F8#C671F8

#C671F8 is a light, highly saturated violet. Relative luminance 0.306; OKLCH L 69.7% C 0.203 H 311.3°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#C671F8
RGBrgb(198, 113, 248)
HSLhsl(278, 91%, 71%)
HSVhsv(278, 54%, 97%)
CMYKcmyk(20.2%, 54.4%, 0%, 2.7%)
CIE-LABlab(62.16, 56.03, -54.49)
CIE-LCHlch(62.16, 78.16, 315.80°)
OKLaboklab(69.75% 0.1342 -0.1527)
OKLCHoklch(69.75% 0.203 311.3)
XYZxyz(46.1340, 30.5943, 92.2637)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C671F8 #A3F871
analogous
#8271F8 #C671F8 #F871E6
triadic
#C671F8 #F8C671 #71F8C6
tetradic
#C671F8 #F88271 #A3F871 #71E6F8
square
#C671F8 #F88271 #A3F871 #71E6F8
split-complementary
#C671F8 #E6F871 #71F882
monochromatic
#930BE3 #AF37F5 #C671F8 #DDABFB #F3E2FE

Accessibility & contrast

On white

2.95
#C671F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#C671F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C671F8
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C671F8#FFFFFF#000000##000000
##C671F81.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4992FC
Deuteranopia (green-blind)
#6798F5
Tritanopia (blue-blind)
#C088AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c671f8;
/* rgb */ color: rgb(198, 113, 248);
/* oklch */ color: oklch(69.7% 0.203 311.3);
Tailwind
colors: {
  custom: {
    50: '#da9dfb',
    500: '#c671f8',
    950: '#000000',
  },
}
SCSS
$custom: #c671f8;
$custom-light: #da9dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#c671f8",
  "rgb": {
    "r": 198,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 277.778,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69746,
    "c": 0.20328,
    "h": 311.3
  },
  "luminance": 0.30593
}

Semantic roles & 50–950 ramp

primary
#C671F8
secondary
#DEF5D0
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C671F8

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

Preview Lab → · Contrast checker → · Palette generator →

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