#C97CF3#C97CF3

#C97CF3 is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.4% C 0.182 H 312.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#C97CF3
RGBrgb(201, 124, 243)
HSLhsl(279, 83%, 72%)
HSVhsv(279, 49%, 95%)
CMYKcmyk(17.3%, 49%, 0%, 4.7%)
CIE-LABlab(64.41, 50.12, -48.16)
CIE-LCHlch(64.41, 69.51, 316.14°)
OKLaboklab(71.4% 0.123 -0.1342)
OKLCHoklch(71.4% 0.182 312.5)
XYZxyz(47.4699, 33.3049, 88.7045)
Luminance0.3330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97CF3 #A6F37C
analogous
#8E7CF3 #C97CF3 #F37CE1
triadic
#C97CF3 #F3C97C #7CF3C9
tetradic
#C97CF3 #F38E7C #A6F37C #7CE1F3
square
#C97CF3 #F38E7C #A6F37C #7CE1F3
split-complementary
#C97CF3 #E1F37C #7CF38E
monochromatic
#9815E0 #B244EE #C97CF3 #E0B4F8 #F3E3FC

Accessibility & contrast

On white

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

On black

7.66
#C97CF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97CF3
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97CF3#FFFFFF#000000##000000
##C97CF31.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6098F7
Deuteranopia (green-blind)
#779EF0
Tritanopia (blue-blind)
#C58FAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97cf3;
/* rgb */ color: rgb(201, 124, 243);
/* oklch */ color: oklch(71.4% 0.182 312.5);
Tailwind
colors: {
  custom: {
    50: '#dca4f7',
    500: '#c97cf3',
    950: '#000000',
  },
}
SCSS
$custom: #c97cf3;
$custom-light: #dca4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c97cf3",
  "rgb": {
    "r": 201,
    "g": 124,
    "b": 243
  },
  "hsl": {
    "h": 278.824,
    "s": 83.217,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71395,
    "c": 0.18204,
    "h": 312.5
  },
  "luminance": 0.33304
}

Semantic roles & 50–950 ramp

primary
#C97CF3
secondary
#E1F4D6
accent
#E00653
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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