#C795EE#C795EE

#C795EE is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.0% C 0.135 H 309.2°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#C795EE
RGBrgb(199, 149, 238)
HSLhsl(274, 72%, 76%)
HSVhsv(274, 37%, 93%)
CMYKcmyk(16.4%, 37.4%, 0%, 6.7%)
CIE-LABlab(69.33, 35.08, -37.70)
CIE-LCHlch(69.33, 51.50, 312.94°)
OKLaboklab(74.97% 0.0851 -0.1042)
OKLCHoklch(74.97% 0.135 309.2)
XYZxyz(49.7304, 39.8106, 85.9367)
Luminance0.3981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C795EE #BCEE95
analogous
#9A95EE #C795EE #EE95E8
triadic
#C795EE #EEC795 #95EEC7
tetradic
#C795EE #EE9A95 #BCEE95 #95E8EE
square
#C795EE #EE9A95 #BCEE95 #95E8EE
split-complementary
#C795EE #E8EE95 #95EE9A
monochromatic
#8F2CDD #AB60E6 #C795EE #E3CAF6 #F1E5FB

Accessibility & contrast

On white

2.34
#C795EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#C795EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C795EE
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C795EE#FFFFFF#000000##000000
##C795EE1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F1
Deuteranopia (green-blind)
#8FAAEB
Tritanopia (blue-blind)
#C2A2B6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c795ee;
/* rgb */ color: rgb(199, 149, 238);
/* oklch */ color: oklch(75.0% 0.135 309.2);
Tailwind
colors: {
  custom: {
    50: '#d9b5f4',
    500: '#c795ee',
    950: '#000000',
  },
}
SCSS
$custom: #c795ee;
$custom-light: #d9b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c795ee",
  "rgb": {
    "r": 199,
    "g": 149,
    "b": 238
  },
  "hsl": {
    "h": 273.708,
    "s": 72.358,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74969,
    "c": 0.13456,
    "h": 309.2
  },
  "luminance": 0.3981
}

Semantic roles & 50–950 ramp

primary
#C795EE
secondary
#E4F2D9
accent
#D41167
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C795EE

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

Preview Lab → · Contrast checker → · Palette generator →

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