#C97DFA#C97DFA

#C97DFA is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.9% C 0.188 H 310.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#C97DFA
RGBrgb(201, 125, 250)
HSLhsl(276, 93%, 74%)
HSVhsv(276, 50%, 98%)
CMYKcmyk(19.6%, 50%, 0%, 2%)
CIE-LABlab(64.95, 51.09, -51.15)
CIE-LCHlch(64.95, 72.29, 314.97°)
OKLaboklab(71.91% 0.1224 -0.1429)
OKLCHoklch(71.91% 0.188 310.6)
XYZxyz(48.6732, 33.9878, 94.4202)
Luminance0.3399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97DFA #AEFA7D
analogous
#8A7DFA #C97DFA #FA7DEC
triadic
#C97DFA #FAC97D #7DFAC9
tetradic
#C97DFA #FA8A7D #AEFA7D #7DECFA
square
#C97DFA #FA8A7D #AEFA7D #7DECFA
split-complementary
#C97DFA #ECFA7D #7DFA8A
monochromatic
#9809F3 #B142F8 #C97DFA #E1B8FC #F3E2FE

Accessibility & contrast

On white

2.69
#C97DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#C97DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97DFA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97DFA#FFFFFF#000000##000000
##C97DFA1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFE
Deuteranopia (green-blind)
#749FF7
Tritanopia (blue-blind)
#C392B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c97dfa;
/* rgb */ color: rgb(201, 125, 250);
/* oklch */ color: oklch(71.9% 0.188 310.6);
Tailwind
colors: {
  custom: {
    50: '#dca5fc',
    500: '#c97dfa',
    950: '#000000',
  },
}
SCSS
$custom: #c97dfa;
$custom-light: #dca5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c97dfa",
  "rgb": {
    "r": 201,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 276.48,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71912,
    "c": 0.18816,
    "h": 310.6
  },
  "luminance": 0.33987
}

Semantic roles & 50–950 ramp

primary
#C97DFA
secondary
#E2F6D5
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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