#C97EFF#C97EFF

#C97EFF is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.3% C 0.192 H 309.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#C97EFF
RGBrgb(201, 126, 255)
HSLhsl(275, 100%, 75%)
HSVhsv(275, 51%, 100%)
CMYKcmyk(21.2%, 50.6%, 0%, 0%)
CIE-LABlab(65.40, 51.65, -53.17)
CIE-LCHlch(65.40, 74.13, 314.17°)
OKLaboklab(72.33% 0.1215 -0.1488)
OKLCHoklch(72.33% 0.192 309.2)
XYZxyz(49.5948, 34.5600, 98.6464)
Luminance0.3456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97EFF #B4FF7E
analogous
#897EFF #C97EFF #FF7EF4
triadic
#C97EFF #FFC97E #7EFFC9
tetradic
#C97EFF #FF897E #B4FF7E #7EF4FF
square
#C97EFF #FF897E #B4FF7E #7EF4FF
split-complementary
#C97EFF #F4FF7E #7EFF89
monochromatic
#9604FF #AF41FF #C97EFF #E3BBFF #F2E0FF

Accessibility & contrast

On white

2.65
#C97EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#C97EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97EFF
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97EFF#FFFFFF#000000##000000
##C97EFF1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9CFF
Deuteranopia (green-blind)
#71A0FC
Tritanopia (blue-blind)
#C294B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c97eff;
/* rgb */ color: rgb(201, 126, 255);
/* oklch */ color: oklch(72.3% 0.192 309.2);
Tailwind
colors: {
  custom: {
    50: '#dca5ff',
    500: '#c97eff',
    950: '#000000',
  },
}
SCSS
$custom: #c97eff;
$custom-light: #dca5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c97eff",
  "rgb": {
    "r": 201,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 274.884,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72328,
    "c": 0.19215,
    "h": 309.2
  },
  "luminance": 0.34559
}

Semantic roles & 50–950 ramp

primary
#C97EFF
secondary
#E3F7D4
accent
#E60060
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C97EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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