#C674F8#C674F8

#C674F8 is a light, vivid violet. Relative luminance 0.313; OKLCH L 70.2% C 0.199 H 311.0°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#C674F8
RGBrgb(198, 116, 248)
HSLhsl(277, 90%, 71%)
HSVhsv(277, 53%, 97%)
CMYKcmyk(20.2%, 53.2%, 0%, 2.7%)
CIE-LABlab(62.74, 54.52, -53.58)
CIE-LCHlch(62.74, 76.44, 315.50°)
OKLaboklab(70.17% 0.1303 -0.1501)
OKLCHoklch(70.17% 0.199 311)
XYZxyz(46.4743, 31.2748, 92.3772)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C674F8 #A6F874
analogous
#8474F8 #C674F8 #F874E8
triadic
#C674F8 #F8C674 #74F8C6
tetradic
#C674F8 #F88474 #A6F874 #74E8F8
square
#C674F8 #F88474 #A6F874 #74E8F8
split-complementary
#C674F8 #E8F874 #74F884
monochromatic
#930CE6 #AE3AF5 #C674F8 #DEAEFB #F3E2FE

Accessibility & contrast

On white

2.89
#C674F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#C674F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C674F8
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C674F8#FFFFFF#000000##000000
##C674F81.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#6A99F5
Tritanopia (blue-blind)
#C08BAB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c674f8;
/* rgb */ color: rgb(198, 116, 248);
/* oklch */ color: oklch(70.2% 0.199 311.0);
Tailwind
colors: {
  custom: {
    50: '#da9ffb',
    500: '#c674f8',
    950: '#000000',
  },
}
SCSS
$custom: #c674f8;
$custom-light: #da9ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#c674f8",
  "rgb": {
    "r": 198,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 277.273,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70169,
    "c": 0.19877,
    "h": 311
  },
  "luminance": 0.31274
}

Semantic roles & 50–950 ramp

primary
#C674F8
secondary
#E0F5D3
accent
#E60057
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C674F8

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

Preview Lab → · Contrast checker → · Palette generator →

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