#C795EB#C795EB

#C795EB is a light, vivid violet. Relative luminance 0.396; OKLCH L 74.8% C 0.131 H 310.2°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#C795EB
RGBrgb(199, 149, 235)
HSLhsl(275, 68%, 75%)
HSVhsv(275, 37%, 92%)
CMYKcmyk(15.3%, 36.6%, 0%, 7.8%)
CIE-LABlab(69.21, 34.44, -36.25)
CIE-LCHlch(69.21, 50.00, 313.53°)
OKLaboklab(74.83% 0.0845 -0.1)
OKLCHoklch(74.83% 0.131 310.2)
XYZxyz(49.2933, 39.6358, 83.6349)
Luminance0.3963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C795EB #B9EB95
analogous
#9C95EB #C795EB #EB95E4
triadic
#C795EB #EBC795 #95EBC7
tetradic
#C795EB #EB9C95 #B9EB95 #95E4EB
square
#C795EB #EB9C95 #B9EB95 #95E4EB
split-complementary
#C795EB #E4EB95 #95EB9C
monochromatic
#912ED8 #AC62E1 #C795EB #E2C8F5 #F1E5FA

Accessibility & contrast

On white

2.35
#C795EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#C795EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C795EB
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C795EB#FFFFFF#000000##000000
##C795EB1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EE
Deuteranopia (green-blind)
#90AAE9
Tritanopia (blue-blind)
#C3A1B5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c795eb;
/* rgb */ color: rgb(199, 149, 235);
/* oklch */ color: oklch(74.8% 0.131 310.2);
Tailwind
colors: {
  custom: {
    50: '#d9b5f1',
    500: '#c795eb',
    950: '#000000',
  },
}
SCSS
$custom: #c795eb;
$custom-light: #d9b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c795eb",
  "rgb": {
    "r": 199,
    "g": 149,
    "b": 235
  },
  "hsl": {
    "h": 274.884,
    "s": 68.254,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74833,
    "c": 0.13095,
    "h": 310.2
  },
  "luminance": 0.39635
}

Semantic roles & 50–950 ramp

primary
#C795EB
secondary
#E4F2D9
accent
#D01564
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C795EB

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

Preview Lab → · Contrast checker → · Palette generator →

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