#C795FF#C795FF

#C795FF is a light, vivid violet. Relative luminance 0.409; OKLCH L 75.8% C 0.155 H 304.7°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#C795FF
RGBrgb(199, 149, 255)
HSLhsl(268, 100%, 79%)
HSVhsv(268, 42%, 100%)
CMYKcmyk(22%, 41.6%, 0%, 0%)
CIE-LABlab(70.08, 38.83, -45.82)
CIE-LCHlch(70.08, 60.06, 310.28°)
OKLaboklab(75.77% 0.0884 -0.1276)
OKLCHoklch(75.77% 0.155 304.7)
XYZxyz(52.3469, 40.8572, 99.7169)
Luminance0.4086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C795FF #CDFF95
analogous
#9598FF #C795FF #FC95FF
triadic
#C795FF #FFC795 #95FFC7
tetradic
#C795FF #FF9598 #CDFF95 #95FFFC
square
#C795FF #FF9598 #CDFF95 #95FFFC
split-complementary
#C795FF #FFFC95 #98FF95
monochromatic
#861BFF #A758FF #C795FF #E7D2FF #EFE0FF

Accessibility & contrast

On white

2.29
#C795FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#C795FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C795FF
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C795FF#FFFFFF#000000##000000
##C795FF1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BAAFF
Deuteranopia (green-blind)
#87ABFC
Tritanopia (blue-blind)
#BEA6BE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c795ff;
/* rgb */ color: rgb(199, 149, 255);
/* oklch */ color: oklch(75.8% 0.155 304.7);
Tailwind
colors: {
  custom: {
    50: '#dab5ff',
    500: '#c795ff',
    950: '#000000',
  },
}
SCSS
$custom: #c795ff;
$custom-light: #dab5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c795ff",
  "rgb": {
    "r": 199,
    "g": 149,
    "b": 255
  },
  "hsl": {
    "h": 268.302,
    "s": 100,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75772,
    "c": 0.15523,
    "h": 304.7
  },
  "luminance": 0.40857
}

Semantic roles & 50–950 ramp

primary
#C795FF
secondary
#E7F7D4
accent
#E60079
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C795FF

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

Preview Lab → · Contrast checker → · Palette generator →

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