#C674F5#C674F5

#C674F5 is a light, vivid violet. Relative luminance 0.311; OKLCH L 70.0% C 0.196 H 311.7°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#C674F5
RGBrgb(198, 116, 245)
HSLhsl(278, 87%, 71%)
HSVhsv(278, 53%, 96%)
CMYKcmyk(19.2%, 52.7%, 0%, 3.9%)
CIE-LABlab(62.58, 53.88, -52.17)
CIE-LCHlch(62.58, 75.00, 315.92°)
OKLaboklab(70% 0.1301 -0.146)
OKLCHoklch(70% 0.196 311.7)
XYZxyz(46.0126, 31.0901, 89.9456)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C674F5 #A3F574
analogous
#8574F5 #C674F5 #F574E3
triadic
#C674F5 #F5C674 #74F5C6
tetradic
#C674F5 #F58574 #A3F574 #74E3F5
square
#C674F5 #F58574 #A3F574 #74E3F5
split-complementary
#C674F5 #E3F574 #74F585
monochromatic
#9310DF #AF3BF1 #C674F5 #DDADF9 #F3E2FD

Accessibility & contrast

On white

2.91
#C674F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#C674F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C674F5
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C674F5#FFFFFF#000000##000000
##C674F51.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5193F9
Deuteranopia (green-blind)
#6C99F2
Tritanopia (blue-blind)
#C18AAA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c674f5;
/* rgb */ color: rgb(198, 116, 245);
/* oklch */ color: oklch(70.0% 0.196 311.7);
Tailwind
colors: {
  custom: {
    50: '#da9ff9',
    500: '#c674f5',
    950: '#000000',
  },
}
SCSS
$custom: #c674f5;
$custom-light: #da9ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#c674f5",
  "rgb": {
    "r": 198,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 278.14,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70004,
    "c": 0.19554,
    "h": 311.7
  },
  "luminance": 0.31089
}

Semantic roles & 50–950 ramp

primary
#C674F5
secondary
#DEF4D1
accent
#E30254
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C674F5

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

Preview Lab → · Contrast checker → · Palette generator →

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