#C97CF5#C97CF5

#C97CF5 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.5% C 0.184 H 312.0°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#C97CF5
RGBrgb(201, 124, 245)
HSLhsl(278, 86%, 72%)
HSVhsv(278, 49%, 96%)
CMYKcmyk(18%, 49.4%, 0%, 3.9%)
CIE-LABlab(64.50, 50.54, -49.11)
CIE-LCHlch(64.50, 70.47, 315.83°)
OKLaboklab(71.5% 0.1232 -0.137)
OKLCHoklch(71.5% 0.184 312)
XYZxyz(47.7736, 33.4264, 90.3038)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97CF5 #A8F57C
analogous
#8D7CF5 #C97CF5 #F57CE4
triadic
#C97CF5 #F5C97C #7CF5C9
tetradic
#C97CF5 #F58D7C #A8F57C #7CE4F5
square
#C97CF5 #F58D7C #A8F57C #7CE4F5
split-complementary
#C97CF5 #E4F57C #7CF58D
monochromatic
#9811E5 #B243F1 #C97CF5 #E0B5F9 #F3E3FD

Accessibility & contrast

On white

2.73
#C97CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#C97CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97CF5
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97CF5#FFFFFF#000000##000000
##C97CF51.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F98F9
Deuteranopia (green-blind)
#769EF2
Tritanopia (blue-blind)
#C48FAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97cf5;
/* rgb */ color: rgb(201, 124, 245);
/* oklch */ color: oklch(71.5% 0.184 312.0);
Tailwind
colors: {
  custom: {
    50: '#dca4f9',
    500: '#c97cf5',
    950: '#000000',
  },
}
SCSS
$custom: #c97cf5;
$custom-light: #dca4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c97cf5",
  "rgb": {
    "r": 201,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 278.182,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71499,
    "c": 0.18423,
    "h": 312
  },
  "luminance": 0.33425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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