#C781FA#C781FA

#C781FA is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.3% C 0.181 H 309.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#C781FA
RGBrgb(199, 129, 250)
HSLhsl(275, 92%, 74%)
HSVhsv(275, 48%, 98%)
CMYKcmyk(20.4%, 48.4%, 0%, 2%)
CIE-LABlab(65.55, 48.47, -50.22)
CIE-LCHlch(65.55, 69.79, 313.98°)
OKLaboklab(72.31% 0.1147 -0.1403)
OKLCHoklch(72.31% 0.181 309.3)
XYZxyz(48.6555, 34.7455, 94.5673)
Luminance0.3474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C781FA #B4FA81
analogous
#8B81FA #C781FA #FA81F0
triadic
#C781FA #FAC781 #81FAC7
tetradic
#C781FA #FA8B81 #B4FA81 #81F0FA
square
#C781FA #FA8B81 #B4FA81 #81F0FA
split-complementary
#C781FA #F0FA81 #81FA8B
monochromatic
#930BF5 #AD46F8 #C781FA #E1BCFC #F2E2FE

Accessibility & contrast

On white

2.64
#C781FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#C781FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C781FA
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C781FA#FFFFFF#000000##000000
##C781FA1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#76A0F7
Tritanopia (blue-blind)
#C095B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c781fa;
/* rgb */ color: rgb(199, 129, 250);
/* oklch */ color: oklch(72.3% 0.181 309.3);
Tailwind
colors: {
  custom: {
    50: '#daa7fc',
    500: '#c781fa',
    950: '#000000',
  },
}
SCSS
$custom: #c781fa;
$custom-light: #daa7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c781fa",
  "rgb": {
    "r": 199,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 274.711,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72307,
    "c": 0.18121,
    "h": 309.3
  },
  "luminance": 0.34745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C781FA

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

Preview Lab → · Contrast checker → · Palette generator →

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