#C97BF2#C97BF2

#C97BF2 is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.2% C 0.183 H 312.9°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#C97BF2
RGBrgb(201, 123, 242)
HSLhsl(279, 82%, 72%)
HSVhsv(279, 49%, 95%)
CMYKcmyk(16.9%, 49.2%, 0%, 5.1%)
CIE-LABlab(64.16, 50.43, -48.00)
CIE-LCHlch(64.16, 69.62, 316.41°)
OKLaboklab(71.19% 0.1242 -0.1338)
OKLCHoklch(71.19% 0.183 312.9)
XYZxyz(47.1946, 32.9953, 87.8698)
Luminance0.3299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C97BF2 #A4F27B
analogous
#8E7BF2 #C97BF2 #F27BDF
triadic
#C97BF2 #F2C97B #7BF2C9
tetradic
#C97BF2 #F28E7B #A4F27B #7BDFF2
square
#C97BF2 #F28E7B #A4F27B #7BDFF2
split-complementary
#C97BF2 #DFF27B #7BF28E
monochromatic
#9816DD #B243ED #C97BF2 #E0B3F7 #F4E3FC

Accessibility & contrast

On white

2.76
#C97BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#C97BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C97BF2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C97BF2#FFFFFF#000000##000000
##C97BF21.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F97F6
Deuteranopia (green-blind)
#769DEF
Tritanopia (blue-blind)
#C58EAB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c97bf2;
/* rgb */ color: rgb(201, 123, 242);
/* oklch */ color: oklch(71.2% 0.183 312.9);
Tailwind
colors: {
  custom: {
    50: '#dca3f7',
    500: '#c97bf2',
    950: '#000000',
  },
}
SCSS
$custom: #c97bf2;
$custom-light: #dca3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c97bf2",
  "rgb": {
    "r": 201,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 279.328,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71194,
    "c": 0.18254,
    "h": 312.9
  },
  "luminance": 0.32994
}

Semantic roles & 50–950 ramp

primary
#C97BF2
secondary
#E0F4D5
accent
#DE0751
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C97BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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