#C974EF#C974EF

#C974EF is a light, vivid purple. Relative luminance 0.311; OKLCH L 70.0% C 0.190 H 314.4°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#C974EF
RGBrgb(201, 116, 239)
HSLhsl(281, 79%, 70%)
HSVhsv(281, 51%, 94%)
CMYKcmyk(15.9%, 51.5%, 0%, 6.3%)
CIE-LABlab(62.63, 53.40, -48.76)
CIE-LCHlch(62.63, 72.31, 317.60°)
OKLaboklab(70.01% 0.1332 -0.136)
OKLCHoklch(70.01% 0.19 314.4)
XYZxyz(45.9103, 31.1415, 85.2371)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C974EF #9AEF74
analogous
#8B74EF #C974EF #EF74D8
triadic
#C974EF #EFC974 #74EFC9
tetradic
#C974EF #EF8B74 #9AEF74 #74D8EF
square
#C974EF #EF8B74 #9AEF74 #74D8EF
split-complementary
#C974EF #D8EF74 #74EF8B
monochromatic
#9818D1 #B43DE9 #C974EF #DEABF5 #F4E2FC

Accessibility & contrast

On white

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

On black

7.23
#C974EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C974EF
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C974EF#FFFFFF#000000##000000
##C974EF1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5793F3
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#C687A7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c974ef;
/* rgb */ color: rgb(201, 116, 239);
/* oklch */ color: oklch(70.0% 0.190 314.4);
Tailwind
colors: {
  custom: {
    50: '#dc9ff5',
    500: '#c974ef',
    950: '#000000',
  },
}
SCSS
$custom: #c974ef;
$custom-light: #dc9ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#c974ef",
  "rgb": {
    "r": 201,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 281.463,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70014,
    "c": 0.19033,
    "h": 314.4
  },
  "luminance": 0.3114
}

Semantic roles & 50–950 ramp

primary
#C974EF
secondary
#D9F1CE
accent
#DC0A4B
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #C974EF

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

Preview Lab → · Contrast checker → · Palette generator →

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