#C97CFE#C97CFE

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

Color values

HEX#C97CFE
RGBrgb(201, 124, 254)
HSLhsl(276, 98%, 74%)
HSVhsv(276, 51%, 100%)
CMYKcmyk(20.9%, 51.2%, 0%, 0.4%)
CIE-LABlab(64.95, 52.47, -53.34)
CIE-LCHlch(64.95, 74.82, 314.53°)
OKLaboklab(71.98% 0.124 -0.1493)
OKLCHoklch(71.98% 0.194 309.7)
XYZxyz(49.1811, 33.9894, 97.7165)
Luminance0.3399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97CFE #B1FE7C
analogous
#887CFE #C97CFE #FE7CF2
triadic
#C97CFE #FEC97C #7CFEC9
tetradic
#C97CFE #FE887C #B1FE7C #7CF2FE
square
#C97CFE #FE887C #B1FE7C #7CF2FE
split-complementary
#C97CFE #F2FE7C #7CFE88
monochromatic
#9703FD #B03FFE #C97CFE #E2B9FE #F2E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C97CFE#FFFFFF#000000##000000
##C97CFE1.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)
#589AFF
Deuteranopia (green-blind)
#709FFB
Tritanopia (blue-blind)
#C292B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c97cfe;
/* rgb */ color: rgb(201, 124, 254);
/* oklch */ color: oklch(72.0% 0.194 309.7);
Tailwind
colors: {
  custom: {
    50: '#dca4ff',
    500: '#c97cfe',
    950: '#000000',
  },
}
SCSS
$custom: #c97cfe;
$custom-light: #dca4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c97cfe",
  "rgb": {
    "r": 201,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 275.538,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71978,
    "c": 0.19412,
    "h": 309.7
  },
  "luminance": 0.33989
}

Semantic roles & 50–950 ramp

primary
#C97CFE
secondary
#E2F7D4
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C97CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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