#C782FA#C782FA

#C782FA is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.5% C 0.180 H 309.1°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#C782FA
RGBrgb(199, 130, 250)
HSLhsl(275, 92%, 75%)
HSVhsv(275, 48%, 98%)
CMYKcmyk(20.4%, 48%, 0%, 2%)
CIE-LABlab(65.76, 47.94, -49.89)
CIE-LCHlch(65.76, 69.19, 313.86°)
OKLaboklab(72.46% 0.1134 -0.1393)
OKLCHoklch(72.46% 0.18 309.1)
XYZxyz(48.7879, 35.0102, 94.6114)
Luminance0.3501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C782FA #B5FA82
analogous
#8B82FA #C782FA #FA82F1
triadic
#C782FA #FAC782 #82FAC7
tetradic
#C782FA #FA8B82 #B5FA82 #82F1FA
square
#C782FA #FA8B82 #B5FA82 #82F1FA
split-complementary
#C782FA #F1FA82 #82FA8B
monochromatic
#920CF5 #AD47F8 #C782FA #E1BDFC #F2E2FE

Accessibility & contrast

On white

2.62
#C782FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#C782FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C782FA
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C782FA#FFFFFF#000000##000000
##C782FA1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFE
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#C096B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c782fa;
/* rgb */ color: rgb(199, 130, 250);
/* oklch */ color: oklch(72.5% 0.180 309.1);
Tailwind
colors: {
  custom: {
    50: '#daa8fc',
    500: '#c782fa',
    950: '#000000',
  },
}
SCSS
$custom: #c782fa;
$custom-light: #daa8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c782fa",
  "rgb": {
    "r": 199,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 274.5,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.7246,
    "c": 0.17964,
    "h": 309.1
  },
  "luminance": 0.3501
}

Semantic roles & 50–950 ramp

primary
#C782FA
secondary
#E3F6D5
accent
#E60062
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C782FA

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

Preview Lab → · Contrast checker → · Palette generator →

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