#CD97F0#CD97F0

#CD97F0 is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.0% C 0.136 H 311.3°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#CD97F0
RGBrgb(205, 151, 240)
HSLhsl(276, 75%, 77%)
HSVhsv(276, 37%, 94%)
CMYKcmyk(14.6%, 37.1%, 0%, 5.9%)
CIE-LABlab(70.46, 36.19, -37.00)
CIE-LCHlch(70.46, 51.76, 314.37°)
OKLaboklab(75.98% 0.0896 -0.1021)
OKLCHoklch(75.98% 0.136 311.3)
XYZxyz(51.9689, 41.4044, 87.6753)
Luminance0.4140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD97F0 #BAF097
analogous
#A197F0 #CD97F0 #F097E7
triadic
#CD97F0 #F0CD97 #97F0CD
tetradic
#CD97F0 #F0A197 #BAF097 #97E7F0
square
#CD97F0 #F0A197 #BAF097 #97E7F0
split-complementary
#CD97F0 #E7F097 #97F0A1
monochromatic
#9A2CE1 #B362E8 #CD97F0 #E7CCF8 #F2E4FB

Accessibility & contrast

On white

2.26
#CD97F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#CD97F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD97F0
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD97F0#FFFFFF#000000##000000
##CD97F01.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AAF3
Deuteranopia (green-blind)
#93ADED
Tritanopia (blue-blind)
#C9A4B8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cd97f0;
/* rgb */ color: rgb(205, 151, 240);
/* oklch */ color: oklch(76.0% 0.136 311.3);
Tailwind
colors: {
  custom: {
    50: '#ddb6f5',
    500: '#cd97f0',
    950: '#000000',
  },
}
SCSS
$custom: #cd97f0;
$custom-light: #ddb6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd97f0",
  "rgb": {
    "r": 205,
    "g": 151,
    "b": 240
  },
  "hsl": {
    "h": 276.404,
    "s": 74.79,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75983,
    "c": 0.13586,
    "h": 311.3
  },
  "luminance": 0.41404
}

Semantic roles & 50–950 ramp

primary
#CD97F0
secondary
#E3F3D8
accent
#D70F5D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD97F0

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

Preview Lab → · Contrast checker → · Palette generator →

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