#C097FA#C097FA

#C097FA is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.2% C 0.144 H 302.1°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#C097FA
RGBrgb(192, 151, 250)
HSLhsl(265, 91%, 79%)
HSVhsv(265, 40%, 98%)
CMYKcmyk(23.2%, 39.6%, 0%, 2%)
CIE-LABlab(69.64, 34.63, -43.82)
CIE-LCHlch(69.64, 55.86, 308.32°)
OKLaboklab(75.22% 0.0767 -0.122)
OKLCHoklch(75.22% 0.144 302.1)
XYZxyz(50.0564, 40.2418, 95.5543)
Luminance0.4024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C097FA #D1FA97
analogous
#979FFA #C097FA #F197FA
triadic
#C097FA #FAC097 #97FAC0
tetradic
#C097FA #FA979F #D1FA97 #97FAF1
square
#C097FA #FA979F #D1FA97 #97FAF1
split-complementary
#C097FA #FAF197 #9FFA97
monochromatic
#7922F4 #9D5DF7 #C097FA #E3D1FD #EDE2FE

Accessibility & contrast

On white

2.32
#C097FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#C097FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C097FA
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C097FA#FFFFFF#000000##000000
##C097FA1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FE
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#B6A7BD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c097fa;
/* rgb */ color: rgb(192, 151, 250);
/* oklch */ color: oklch(75.2% 0.144 302.1);
Tailwind
colors: {
  custom: {
    50: '#d5b6fc',
    500: '#c097fa',
    950: '#000000',
  },
}
SCSS
$custom: #c097fa;
$custom-light: #d5b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c097fa",
  "rgb": {
    "r": 192,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 264.848,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75216,
    "c": 0.14408,
    "h": 302.1
  },
  "luminance": 0.40242
}

Semantic roles & 50–950 ramp

primary
#C097FA
secondary
#E8F6D5
accent
#E60086
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C097FA

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

Preview Lab → · Contrast checker → · Palette generator →

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