#C074FE#C074FE

#C074FE is a light, highly saturated violet. Relative luminance 0.309; OKLCH L 69.9% C 0.203 H 307.4°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#C074FE
RGBrgb(192, 116, 254)
HSLhsl(273, 99%, 73%)
HSVhsv(273, 54%, 100%)
CMYKcmyk(24.4%, 54.3%, 0%, 0.4%)
CIE-LABlab(62.38, 54.33, -57.49)
CIE-LCHlch(62.38, 79.10, 313.38°)
OKLaboklab(69.86% 0.1234 -0.1616)
OKLCHoklch(69.86% 0.203 307.4)
XYZxyz(45.8694, 30.8535, 97.2856)
Luminance0.3085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C074FE #B2FE74
analogous
#7B74FE #C074FE #FE74F7
triadic
#C074FE #FEC074 #74FEC0
tetradic
#C074FE #FE7B74 #B2FE74 #74F7FE
square
#C074FE #FE7B74 #B2FE74 #74F7FE
split-complementary
#C074FE #F7FE74 #74FE7B
monochromatic
#8802F6 #A437FE #C074FE #DCB1FE #F1E1FF

Accessibility & contrast

On white

2.93
#C074FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#C074FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C074FE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C074FE#FFFFFF#000000##000000
##C074FE1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#6098FB
Tritanopia (blue-blind)
#B78DAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c074fe;
/* rgb */ color: rgb(192, 116, 254);
/* oklch */ color: oklch(69.9% 0.203 307.4);
Tailwind
colors: {
  custom: {
    50: '#d69fff',
    500: '#c074fe',
    950: '#000000',
  },
}
SCSS
$custom: #c074fe;
$custom-light: #d69fff;
$custom-dark: #000000;
JSON
{
  "hex": "#c074fe",
  "rgb": {
    "r": 192,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 273.043,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69862,
    "c": 0.20338,
    "h": 307.4
  },
  "luminance": 0.30853
}

Semantic roles & 50–950 ramp

primary
#C074FE
secondary
#E4F7D4
accent
#E60067
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C074FE

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

Preview Lab → · Contrast checker → · Palette generator →

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