#C97CF2#C97CF2

#C97CF2 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.3% C 0.181 H 312.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#C97CF2
RGBrgb(201, 124, 242)
HSLhsl(279, 82%, 72%)
HSVhsv(279, 49%, 95%)
CMYKcmyk(16.9%, 48.8%, 0%, 5.1%)
CIE-LABlab(64.36, 49.91, -47.68)
CIE-LCHlch(64.36, 69.03, 316.31°)
OKLaboklab(71.34% 0.1228 -0.1329)
OKLCHoklch(71.34% 0.181 312.8)
XYZxyz(47.3193, 33.2447, 87.9113)
Luminance0.3324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97CF2 #A5F27C
analogous
#8E7CF2 #C97CF2 #F27CE0
triadic
#C97CF2 #F2C97C #7CF2C9
tetradic
#C97CF2 #F28E7C #A5F27C #7CE0F2
square
#C97CF2 #F28E7C #A5F27C #7CE0F2
split-complementary
#C97CF2 #E0F27C #7CF28E
monochromatic
#9816DE #B244EC #C97CF2 #E0B4F8 #F4E3FC

Accessibility & contrast

On white

2.75
#C97CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#C97CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97CF2
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97CF2#FFFFFF#000000##000000
##C97CF21.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#779EEF
Tritanopia (blue-blind)
#C58FAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97cf2;
/* rgb */ color: rgb(201, 124, 242);
/* oklch */ color: oklch(71.3% 0.181 312.8);
Tailwind
colors: {
  custom: {
    50: '#dca4f7',
    500: '#c97cf2',
    950: '#000000',
  },
}
SCSS
$custom: #c97cf2;
$custom-light: #dca4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c97cf2",
  "rgb": {
    "r": 201,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 279.153,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71343,
    "c": 0.18095,
    "h": 312.8
  },
  "luminance": 0.33244
}

Semantic roles & 50–950 ramp

primary
#C97CF2
secondary
#E0F4D6
accent
#DE0752
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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