#C794FA#C794FA

#C794FA is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.4% C 0.151 H 306.1°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#C794FA
RGBrgb(199, 148, 250)
HSLhsl(270, 91%, 78%)
HSVhsv(270, 41%, 98%)
CMYKcmyk(20.4%, 40.8%, 0%, 2%)
CIE-LABlab(69.63, 38.26, -43.80)
CIE-LCHlch(69.63, 58.15, 311.14°)
OKLaboklab(75.36% 0.0889 -0.1218)
OKLCHoklch(75.36% 0.151 306.1)
XYZxyz(51.3950, 40.2244, 95.4805)
Luminance0.4022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C794FA #C7FA94
analogous
#9494FA #C794FA #FA94FA
triadic
#C794FA #FAC794 #94FAC7
tetradic
#C794FA #FA9494 #C7FA94 #94FAFA
square
#C794FA #FA9494 #C7FA94 #94FAFA
split-complementary
#C794FA #FAFA94 #94FA94
monochromatic
#8A1FF5 #A85AF7 #C794FA #E6CEFD #F0E2FE

Accessibility & contrast

On white

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

On black

9.04
#C794FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C794FA
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C794FA#FFFFFF#000000##000000
##C794FA1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FE
Deuteranopia (green-blind)
#88AAF7
Tritanopia (blue-blind)
#BFA4BB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c794fa;
/* rgb */ color: rgb(199, 148, 250);
/* oklch */ color: oklch(75.4% 0.151 306.1);
Tailwind
colors: {
  custom: {
    50: '#d9b4fc',
    500: '#c794fa',
    950: '#000000',
  },
}
SCSS
$custom: #c794fa;
$custom-light: #d9b4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c794fa",
  "rgb": {
    "r": 199,
    "g": 148,
    "b": 250
  },
  "hsl": {
    "h": 270,
    "s": 91.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75362,
    "c": 0.15075,
    "h": 306.1
  },
  "luminance": 0.40224
}

Semantic roles & 50–950 ramp

primary
#C794FA
secondary
#E6F6D5
accent
#E60073
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C794FA

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

Preview Lab → · Contrast checker → · Palette generator →

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