#C795FA#C795FA

#C795FA is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.5% C 0.149 H 305.9°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#C795FA
RGBrgb(199, 149, 250)
HSLhsl(270, 91%, 78%)
HSVhsv(270, 40%, 98%)
CMYKcmyk(20.4%, 40.4%, 0%, 2%)
CIE-LABlab(69.85, 37.71, -43.45)
CIE-LCHlch(69.85, 57.53, 310.96°)
OKLaboklab(75.53% 0.0875 -0.1207)
OKLCHoklch(75.53% 0.149 305.9)
XYZxyz(51.5525, 40.5395, 95.5330)
Luminance0.4054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C795FA #C8FA95
analogous
#9595FA #C795FA #F995FA
triadic
#C795FA #FAC795 #95FAC7
tetradic
#C795FA #FA9595 #C8FA95 #95FAF9
square
#C795FA #FA9595 #C8FA95 #95FAF9
split-complementary
#C795FA #FAF995 #95FA95
monochromatic
#8920F4 #A85BF7 #C795FA #E6CFFD #F0E2FE

Accessibility & contrast

On white

2.31
#C795FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#C795FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C795FA
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C795FA#FFFFFF#000000##000000
##C795FA1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c795fa;
/* rgb */ color: rgb(199, 149, 250);
/* oklch */ color: oklch(75.5% 0.149 305.9);
Tailwind
colors: {
  custom: {
    50: '#d9b5fc',
    500: '#c795fa',
    950: '#000000',
  },
}
SCSS
$custom: #c795fa;
$custom-light: #d9b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c795fa",
  "rgb": {
    "r": 199,
    "g": 149,
    "b": 250
  },
  "hsl": {
    "h": 269.703,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.7553,
    "c": 0.14912,
    "h": 305.9
  },
  "luminance": 0.40539
}

Semantic roles & 50–950 ramp

primary
#C795FA
secondary
#E6F6D5
accent
#E60074
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C795FA

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

Preview Lab → · Contrast checker → · Palette generator →

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