#C97CF4#C97CF4

#C97CF4 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.4% C 0.183 H 312.2°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#C97CF4
RGBrgb(201, 124, 244)
HSLhsl(279, 85%, 72%)
HSVhsv(279, 49%, 96%)
CMYKcmyk(17.6%, 49.2%, 0%, 4.3%)
CIE-LABlab(64.46, 50.33, -48.63)
CIE-LCHlch(64.46, 69.99, 315.98°)
OKLaboklab(71.45% 0.1231 -0.1356)
OKLCHoklch(71.45% 0.183 312.2)
XYZxyz(47.6213, 33.3655, 89.5020)
Luminance0.3336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97CF4 #A7F47C
analogous
#8D7CF4 #C97CF4 #F47CE3
triadic
#C97CF4 #F4C97C #7CF4C9
tetradic
#C97CF4 #F48D7C #A7F47C #7CE3F4
square
#C97CF4 #F48D7C #A7F47C #7CE3F4
split-complementary
#C97CF4 #E3F47C #7CF48D
monochromatic
#9813E3 #B244EF #C97CF4 #E0B4F9 #F3E3FD

Accessibility & contrast

On white

2.74
#C97CF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#C97CF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97CF4
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97CF4#FFFFFF#000000##000000
##C97CF41.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6098F8
Deuteranopia (green-blind)
#769EF1
Tritanopia (blue-blind)
#C58FAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97cf4;
/* rgb */ color: rgb(201, 124, 244);
/* oklch */ color: oklch(71.4% 0.183 312.2);
Tailwind
colors: {
  custom: {
    50: '#dca4f8',
    500: '#c97cf4',
    950: '#000000',
  },
}
SCSS
$custom: #c97cf4;
$custom-light: #dca4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c97cf4",
  "rgb": {
    "r": 201,
    "g": 124,
    "b": 244
  },
  "hsl": {
    "h": 278.5,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71447,
    "c": 0.18314,
    "h": 312.2
  },
  "luminance": 0.33364
}

Semantic roles & 50–950 ramp

primary
#C97CF4
secondary
#E1F5D6
accent
#E10554
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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