#C97FF0#C97FF0

#C97FF0 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.7% C 0.174 H 313.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#C97FF0
RGBrgb(201, 127, 240)
HSLhsl(279, 79%, 72%)
HSVhsv(279, 47%, 94%)
CMYKcmyk(16.3%, 47.1%, 0%, 5.9%)
CIE-LABlab(64.87, 47.92, -45.77)
CIE-LCHlch(64.87, 66.26, 316.31°)
OKLaboklab(71.69% 0.1185 -0.1273)
OKLCHoklch(71.69% 0.174 313)
XYZxyz(47.4023, 33.8886, 86.4652)
Luminance0.3389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97FF0 #A6F07F
analogous
#917FF0 #C97FF0 #F07FDF
triadic
#C97FF0 #F0C97F #7FF0C9
tetradic
#C97FF0 #F0917F #A6F07F #7FDFF0
square
#C97FF0 #F0917F #A6F07F #7FDFF0
split-complementary
#C97FF0 #DFF07F #7FF091
monochromatic
#981ADB #B248EA #C97FF0 #E0B6F6 #F3E4FC

Accessibility & contrast

On white

2.70
#C97FF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#C97FF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97FF0
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97FF0#FFFFFF#000000##000000
##C97FF01.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F4
Deuteranopia (green-blind)
#7B9FED
Tritanopia (blue-blind)
#C590AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c97ff0;
/* rgb */ color: rgb(201, 127, 240);
/* oklch */ color: oklch(71.7% 0.174 313.0);
Tailwind
colors: {
  custom: {
    50: '#dba6f5',
    500: '#c97ff0',
    950: '#000000',
  },
}
SCSS
$custom: #c97ff0;
$custom-light: #dba6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c97ff0",
  "rgb": {
    "r": 201,
    "g": 127,
    "b": 240
  },
  "hsl": {
    "h": 279.292,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71695,
    "c": 0.17396,
    "h": 313
  },
  "luminance": 0.33888
}

Semantic roles & 50–950 ramp

primary
#C97FF0
secondary
#E1F4D7
accent
#DB0A52
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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