#C795FB#C795FB

#C795FB is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.6% C 0.150 H 305.7°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#C795FB
RGBrgb(199, 149, 251)
HSLhsl(269, 93%, 78%)
HSVhsv(269, 41%, 98%)
CMYKcmyk(20.7%, 40.6%, 0%, 1.6%)
CIE-LABlab(69.90, 37.93, -43.92)
CIE-LCHlch(69.90, 58.03, 310.82°)
OKLaboklab(75.58% 0.0877 -0.1221)
OKLCHoklch(75.58% 0.15 305.7)
XYZxyz(51.7097, 40.6024, 96.3610)
Luminance0.4060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C795FB #C9FB95
analogous
#9596FB #C795FB #FA95FB
triadic
#C795FB #FBC795 #95FBC7
tetradic
#C795FB #FB9596 #C9FB95 #95FBFA
square
#C795FB #FB9596 #C9FB95 #95FBFA
split-complementary
#C795FB #FBFA95 #96FB95
monochromatic
#891FF7 #A85AF9 #C795FB #E6D0FD #EFE2FE

Accessibility & contrast

On white

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

On black

9.12
#C795FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C795FB
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C795FB#FFFFFF#000000##000000
##C795FB1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c795fb;
/* rgb */ color: rgb(199, 149, 251);
/* oklch */ color: oklch(75.6% 0.150 305.7);
Tailwind
colors: {
  custom: {
    50: '#d9b5fd',
    500: '#c795fb',
    950: '#000000',
  },
}
SCSS
$custom: #c795fb;
$custom-light: #d9b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c795fb",
  "rgb": {
    "r": 199,
    "g": 149,
    "b": 251
  },
  "hsl": {
    "h": 269.412,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75578,
    "c": 0.15034,
    "h": 305.7
  },
  "luminance": 0.40602
}

Semantic roles & 50–950 ramp

primary
#C795FB
secondary
#E6F6D5
accent
#E60075
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C795FB

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

Preview Lab → · Contrast checker → · Palette generator →

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