#C794FC#C794FC

#C794FC is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.5% C 0.153 H 305.6°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#C794FC
RGBrgb(199, 148, 252)
HSLhsl(269, 95%, 78%)
HSVhsv(269, 41%, 99%)
CMYKcmyk(21%, 41.3%, 0%, 1.2%)
CIE-LABlab(69.72, 38.70, -44.74)
CIE-LCHlch(69.72, 59.16, 310.86°)
OKLaboklab(75.46% 0.0892 -0.1245)
OKLCHoklch(75.46% 0.153 305.6)
XYZxyz(51.7102, 40.3505, 97.1408)
Luminance0.4035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C794FC #C9FC94
analogous
#9495FC #C794FC #FB94FC
triadic
#C794FC #FCC794 #94FCC7
tetradic
#C794FC #FC9495 #C9FC94 #94FCFB
square
#C794FC #FC9495 #C9FC94 #94FCFB
split-complementary
#C794FC #FCFB94 #95FC94
monochromatic
#891DF9 #A858FA #C794FC #E6D0FE #EFE1FE

Accessibility & contrast

On white

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

On black

9.07
#C794FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C794FC
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C794FC#FFFFFF#000000##000000
##C794FC1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#87ABF9
Tritanopia (blue-blind)
#BFA5BC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c794fc;
/* rgb */ color: rgb(199, 148, 252);
/* oklch */ color: oklch(75.5% 0.153 305.6);
Tailwind
colors: {
  custom: {
    50: '#dab4fe',
    500: '#c794fc',
    950: '#000000',
  },
}
SCSS
$custom: #c794fc;
$custom-light: #dab4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c794fc",
  "rgb": {
    "r": 199,
    "g": 148,
    "b": 252
  },
  "hsl": {
    "h": 269.423,
    "s": 94.545,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75458,
    "c": 0.15318,
    "h": 305.6
  },
  "luminance": 0.4035
}

Semantic roles & 50–950 ramp

primary
#C794FC
secondary
#E6F6D5
accent
#E60075
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C794FC

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

Preview Lab → · Contrast checker → · Palette generator →

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