#C497FA#C497FA

#C497FA is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.6% C 0.145 H 304.1°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#C497FA
RGBrgb(196, 151, 250)
HSLhsl(267, 91%, 79%)
HSVhsv(267, 40%, 98%)
CMYKcmyk(21.6%, 39.6%, 0%, 2%)
CIE-LABlab(70.02, 35.77, -43.21)
CIE-LCHlch(70.02, 56.09, 309.61°)
OKLaboklab(75.59% 0.0813 -0.1201)
OKLCHoklch(75.59% 0.145 304.1)
XYZxyz(51.0833, 40.7713, 95.6024)
Luminance0.4077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C497FA #CDFA97
analogous
#979BFA #C497FA #F697FA
triadic
#C497FA #FAC497 #97FAC4
tetradic
#C497FA #FA979B #CDFA97 #97FAF6
square
#C497FA #FA979B #CDFA97 #97FAF6
split-complementary
#C497FA #FAF697 #9BFA97
monochromatic
#8222F4 #A35DF7 #C497FA #E5D1FD #EEE2FE

Accessibility & contrast

On white

2.29
#C497FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#C497FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C497FA
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C497FA#FFFFFF#000000##000000
##C497FA1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FAAFE
Deuteranopia (green-blind)
#89ABF7
Tritanopia (blue-blind)
#BBA7BD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c497fa;
/* rgb */ color: rgb(196, 151, 250);
/* oklch */ color: oklch(75.6% 0.145 304.1);
Tailwind
colors: {
  custom: {
    50: '#d7b6fc',
    500: '#c497fa',
    950: '#000000',
  },
}
SCSS
$custom: #c497fa;
$custom-light: #d7b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c497fa",
  "rgb": {
    "r": 196,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 267.273,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75587,
    "c": 0.14505,
    "h": 304.1
  },
  "luminance": 0.40771
}

Semantic roles & 50–950 ramp

primary
#C497FA
secondary
#E7F6D5
accent
#E6007D
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C497FA

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

Preview Lab → · Contrast checker → · Palette generator →

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