#C792EB#C792EB

#C792EB is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.3% C 0.136 H 310.7°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#C792EB
RGBrgb(199, 146, 235)
HSLhsl(276, 69%, 75%)
HSVhsv(276, 38%, 92%)
CMYKcmyk(15.3%, 37.9%, 0%, 7.8%)
CIE-LABlab(68.53, 36.08, -37.30)
CIE-LCHlch(68.53, 51.89, 314.04°)
OKLaboklab(74.32% 0.0888 -0.103)
OKLCHoklch(74.32% 0.136 310.7)
XYZxyz(48.8248, 38.6988, 83.4787)
Luminance0.3870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C792EB #B6EB92
analogous
#9B92EB #C792EB #EB92E3
triadic
#C792EB #EBC792 #92EBC7
tetradic
#C792EB #EB9B92 #B6EB92 #92E3EB
square
#C792EB #EB9B92 #B6EB92 #92E3EB
split-complementary
#C792EB #E3EB92 #92EB9B
monochromatic
#922BD8 #AC5EE2 #C792EB #E2C6F4 #F2E5FA

Accessibility & contrast

On white

2.40
#C792EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#C792EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C792EB
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C792EB#FFFFFF#000000##000000
##C792EB1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5EE
Deuteranopia (green-blind)
#8DA8E8
Tritanopia (blue-blind)
#C39FB4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c792eb;
/* rgb */ color: rgb(199, 146, 235);
/* oklch */ color: oklch(74.3% 0.136 310.7);
Tailwind
colors: {
  custom: {
    50: '#d9b2f1',
    500: '#c792eb',
    950: '#000000',
  },
}
SCSS
$custom: #c792eb;
$custom-light: #d9b2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c792eb",
  "rgb": {
    "r": 199,
    "g": 146,
    "b": 235
  },
  "hsl": {
    "h": 275.73,
    "s": 68.992,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74321,
    "c": 0.13601,
    "h": 310.7
  },
  "luminance": 0.38698
}

Semantic roles & 50–950 ramp

primary
#C792EB
secondary
#E3F2D9
accent
#D11561
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C792EB

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

Preview Lab → · Contrast checker → · Palette generator →

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