#C97CF0#C97CF0

#C97CF0 is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.2% C 0.179 H 313.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#C97CF0
RGBrgb(201, 124, 240)
HSLhsl(280, 79%, 71%)
HSVhsv(280, 48%, 94%)
CMYKcmyk(16.3%, 48.3%, 0%, 5.9%)
CIE-LABlab(64.26, 49.49, -46.73)
CIE-LCHlch(64.26, 68.07, 316.64°)
OKLaboklab(71.24% 0.1226 -0.1301)
OKLCHoklch(71.24% 0.179 313.3)
XYZxyz(47.0206, 33.1252, 86.3380)
Luminance0.3312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97CF0 #A3F07C
analogous
#8F7CF0 #C97CF0 #F07CDD
triadic
#C97CF0 #F0C97C #7CF0C9
tetradic
#C97CF0 #F08F7C #A3F07C #7CDDF0
square
#C97CF0 #F08F7C #A3F07C #7CDDF0
split-complementary
#C97CF0 #DDF07C #7CF08F
monochromatic
#9819D9 #B245EA #C97CF0 #E0B3F6 #F4E4FC

Accessibility & contrast

On white

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

On black

7.62
#C97CF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97CF0
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97CF0#FFFFFF#000000##000000
##C97CF01.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F4
Deuteranopia (green-blind)
#789EED
Tritanopia (blue-blind)
#C68EAB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c97cf0;
/* rgb */ color: rgb(201, 124, 240);
/* oklch */ color: oklch(71.2% 0.179 313.3);
Tailwind
colors: {
  custom: {
    50: '#dba4f5',
    500: '#c97cf0',
    950: '#000000',
  },
}
SCSS
$custom: #c97cf0;
$custom-light: #dba4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c97cf0",
  "rgb": {
    "r": 201,
    "g": 124,
    "b": 240
  },
  "hsl": {
    "h": 279.828,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7124,
    "c": 0.17877,
    "h": 313.3
  },
  "luminance": 0.33124
}

Semantic roles & 50–950 ramp

primary
#C97CF0
secondary
#DFF3D5
accent
#DC0A50
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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