#C97DFF#C97DFF

#C97DFF is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.2% C 0.194 H 309.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#C97DFF
RGBrgb(201, 125, 255)
HSLhsl(275, 100%, 75%)
HSVhsv(275, 51%, 100%)
CMYKcmyk(21.2%, 51%, 0%, 0%)
CIE-LABlab(65.20, 52.17, -53.49)
CIE-LCHlch(65.20, 74.72, 314.28°)
OKLaboklab(72.18% 0.1228 -0.1498)
OKLCHoklch(72.18% 0.194 309.4)
XYZxyz(49.4676, 34.3055, 98.6040)
Luminance0.3431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97DFF #B3FF7D
analogous
#887DFF #C97DFF #FF7DF4
triadic
#C97DFF #FFC97D #7DFFC9
tetradic
#C97DFF #FF887D #B3FF7D #7DF4FF
square
#C97DFF #FF887D #B3FF7D #7DF4FF
split-complementary
#C97DFF #F4FF7D #7DFF88
monochromatic
#9603FF #B040FF #C97DFF #E2BAFF #F2E0FF

Accessibility & contrast

On white

2.67
#C97DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#C97DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97DFF
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97DFF#FFFFFF#000000##000000
##C97DFF1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#599BFF
Deuteranopia (green-blind)
#709FFC
Tritanopia (blue-blind)
#C293B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c97dff;
/* rgb */ color: rgb(201, 125, 255);
/* oklch */ color: oklch(72.2% 0.194 309.4);
Tailwind
colors: {
  custom: {
    50: '#dca5ff',
    500: '#c97dff',
    950: '#000000',
  },
}
SCSS
$custom: #c97dff;
$custom-light: #dca5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c97dff",
  "rgb": {
    "r": 201,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 275.077,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7218,
    "c": 0.19369,
    "h": 309.4
  },
  "luminance": 0.34305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C97DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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