#C793FA#C793FA

#C793FA is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.2% C 0.152 H 306.3°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#C793FA
RGBrgb(199, 147, 250)
HSLhsl(270, 91%, 78%)
HSVhsv(270, 41%, 98%)
CMYKcmyk(20.4%, 41.2%, 0%, 2%)
CIE-LABlab(69.41, 38.80, -44.14)
CIE-LCHlch(69.41, 58.77, 311.31°)
OKLaboklab(75.19% 0.0903 -0.1228)
OKLCHoklch(75.19% 0.152 306.3)
XYZxyz(51.2388, 39.9121, 95.4284)
Luminance0.3991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C793FA #C6FA93
analogous
#9393FA #C793FA #FA93FA
triadic
#C793FA #FAC793 #93FAC7
tetradic
#C793FA #FA9393 #C6FA93 #93FAFA
square
#C793FA #FA9393 #C6FA93 #93FAFA
split-complementary
#C793FA #FAFA93 #93FA93
monochromatic
#8A1EF5 #A959F7 #C793FA #E5CDFD #F0E2FE

Accessibility & contrast

On white

2.34
#C793FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#C793FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C793FA
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C793FA#FFFFFF#000000##000000
##C793FA1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FE
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#BFA3BB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c793fa;
/* rgb */ color: rgb(199, 147, 250);
/* oklch */ color: oklch(75.2% 0.152 306.3);
Tailwind
colors: {
  custom: {
    50: '#dab3fc',
    500: '#c793fa',
    950: '#000000',
  },
}
SCSS
$custom: #c793fa;
$custom-light: #dab3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c793fa",
  "rgb": {
    "r": 199,
    "g": 147,
    "b": 250
  },
  "hsl": {
    "h": 270.291,
    "s": 91.15,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75194,
    "c": 0.15237,
    "h": 306.3
  },
  "luminance": 0.39912
}

Semantic roles & 50–950 ramp

primary
#C793FA
secondary
#E5F6D5
accent
#E60072
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C793FA

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

Preview Lab → · Contrast checker → · Palette generator →

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