#C792FF#C792FF

#C792FF is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.3% C 0.160 H 305.3°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#C792FF
RGBrgb(199, 146, 255)
HSLhsl(269, 100%, 79%)
HSVhsv(269, 43%, 100%)
CMYKcmyk(22%, 42.7%, 0%, 0%)
CIE-LABlab(69.41, 40.46, -46.86)
CIE-LCHlch(69.41, 61.91, 310.81°)
OKLaboklab(75.27% 0.0925 -0.1306)
OKLCHoklch(75.27% 0.16 305.3)
XYZxyz(51.8784, 39.9202, 99.5607)
Luminance0.3992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C792FF #CAFF92
analogous
#9293FF #C792FF #FD92FF
triadic
#C792FF #FFC792 #92FFC7
tetradic
#C792FF #FF9293 #CAFF92 #92FFFD
square
#C792FF #FF9293 #CAFF92 #92FFFD
split-complementary
#C792FF #FFFD92 #93FF92
monochromatic
#8818FF #A855FF #C792FF #E6CFFF #EFE0FF

Accessibility & contrast

On white

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

On black

8.98
#C792FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C792FF
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C792FF#FFFFFF#000000##000000
##C792FF1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A8FF
Deuteranopia (green-blind)
#84AAFC
Tritanopia (blue-blind)
#BEA4BC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c792ff;
/* rgb */ color: rgb(199, 146, 255);
/* oklch */ color: oklch(75.3% 0.160 305.3);
Tailwind
colors: {
  custom: {
    50: '#dab3ff',
    500: '#c792ff',
    950: '#000000',
  },
}
SCSS
$custom: #c792ff;
$custom-light: #dab3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c792ff",
  "rgb": {
    "r": 199,
    "g": 146,
    "b": 255
  },
  "hsl": {
    "h": 269.174,
    "s": 100,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75273,
    "c": 0.16003,
    "h": 305.3
  },
  "luminance": 0.3992
}

Semantic roles & 50–950 ramp

primary
#C792FF
secondary
#E6F7D4
accent
#E60076
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #C792FF

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

Preview Lab → · Contrast checker → · Palette generator →

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