#C792FB#C792FB

#C792FB is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.1% C 0.155 H 306.3°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#C792FB
RGBrgb(199, 146, 251)
HSLhsl(270, 93%, 78%)
HSVhsv(270, 42%, 98%)
CMYKcmyk(20.7%, 41.8%, 0%, 1.6%)
CIE-LABlab(69.23, 39.57, -44.97)
CIE-LCHlch(69.23, 59.90, 311.35°)
OKLaboklab(75.08% 0.0918 -0.1251)
OKLCHoklch(75.08% 0.155 306.3)
XYZxyz(51.2412, 39.6653, 96.2048)
Luminance0.3967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C792FB #C6FB92
analogous
#9392FB #C792FB #FB92FA
triadic
#C792FB #FBC792 #92FBC7
tetradic
#C792FB #FB9392 #C6FB92 #92FAFB
square
#C792FB #FB9392 #C6FB92 #92FAFB
split-complementary
#C792FB #FAFB92 #92FB93
monochromatic
#8A1CF7 #A957F9 #C792FB #E5CDFD #F0E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C792FB#FFFFFF#000000##000000
##C792FB1.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)
#79A7FF
Deuteranopia (green-blind)
#86A9F8
Tritanopia (blue-blind)
#BFA3BB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c792fb;
/* rgb */ color: rgb(199, 146, 251);
/* oklch */ color: oklch(75.1% 0.155 306.3);
Tailwind
colors: {
  custom: {
    50: '#dab3fd',
    500: '#c792fb',
    950: '#000000',
  },
}
SCSS
$custom: #c792fb;
$custom-light: #dab3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c792fb",
  "rgb": {
    "r": 199,
    "g": 146,
    "b": 251
  },
  "hsl": {
    "h": 270.286,
    "s": 92.92,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75076,
    "c": 0.1552,
    "h": 306.3
  },
  "luminance": 0.39665
}

Semantic roles & 50–950 ramp

primary
#C792FB
secondary
#E5F6D5
accent
#E60072
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #C792FB

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

Preview Lab → · Contrast checker → · Palette generator →

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