#C795FC#C795FC

#C795FC is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.6% C 0.152 H 305.4°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#C795FC
RGBrgb(199, 149, 252)
HSLhsl(269, 94%, 79%)
HSVhsv(269, 41%, 99%)
CMYKcmyk(21%, 40.9%, 0%, 1.2%)
CIE-LABlab(69.94, 38.16, -44.40)
CIE-LCHlch(69.94, 58.54, 310.68°)
OKLaboklab(75.63% 0.0879 -0.1235)
OKLCHoklch(75.63% 0.152 305.4)
XYZxyz(51.8677, 40.6656, 97.1934)
Luminance0.4067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C795FC #CAFC95
analogous
#9596FC #C795FC #FA95FC
triadic
#C795FC #FCC795 #95FCC7
tetradic
#C795FC #FC9596 #CAFC95 #95FCFA
square
#C795FC #FC9596 #CAFC95 #95FCFA
split-complementary
#C795FC #FCFA95 #96FC95
monochromatic
#881EF9 #A859FA #C795FC #E6D1FE #EFE1FE

Accessibility & contrast

On white

2.30
#C795FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#C795FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C795FC
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C795FC#FFFFFF#000000##000000
##C795FC1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#88ABF9
Tritanopia (blue-blind)
#BFA5BD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c795fc;
/* rgb */ color: rgb(199, 149, 252);
/* oklch */ color: oklch(75.6% 0.152 305.4);
Tailwind
colors: {
  custom: {
    50: '#dab5fe',
    500: '#c795fc',
    950: '#000000',
  },
}
SCSS
$custom: #c795fc;
$custom-light: #dab5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c795fc",
  "rgb": {
    "r": 199,
    "g": 149,
    "b": 252
  },
  "hsl": {
    "h": 269.126,
    "s": 94.495,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75626,
    "c": 0.15156,
    "h": 305.4
  },
  "luminance": 0.40665
}

Semantic roles & 50–950 ramp

primary
#C795FC
secondary
#E6F6D5
accent
#E60076
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C795FC

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

Preview Lab → · Contrast checker → · Palette generator →

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