#C781FF#C781FF

#C781FF is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.6% C 0.187 H 308.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#C781FF
RGBrgb(199, 129, 255)
HSLhsl(273, 100%, 75%)
HSVhsv(273, 49%, 100%)
CMYKcmyk(22%, 49.4%, 0%, 0%)
CIE-LABlab(65.80, 49.56, -52.56)
CIE-LCHlch(65.80, 72.25, 313.32°)
OKLaboklab(72.57% 0.1152 -0.1471)
OKLCHoklch(72.57% 0.187 308.1)
XYZxyz(49.4499, 35.0632, 98.7512)
Luminance0.3506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C781FF #B9FF81
analogous
#8881FF #C781FF #FF81F8
triadic
#C781FF #FFC781 #81FFC7
tetradic
#C781FF #FF8881 #B9FF81 #81F8FF
square
#C781FF #FF8881 #B9FF81 #81F8FF
split-complementary
#C781FF #F8FF81 #81FF88
monochromatic
#9107FF #AC44FF #C781FF #E2BEFF #F1E0FF

Accessibility & contrast

On white

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

On black

8.01
#C781FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C781FF
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C781FF#FFFFFF#000000##000000
##C781FF1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9DFF
Deuteranopia (green-blind)
#73A1FC
Tritanopia (blue-blind)
#BF96B4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c781ff;
/* rgb */ color: rgb(199, 129, 255);
/* oklch */ color: oklch(72.6% 0.187 308.1);
Tailwind
colors: {
  custom: {
    50: '#daa7ff',
    500: '#c781ff',
    950: '#000000',
  },
}
SCSS
$custom: #c781ff;
$custom-light: #daa7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c781ff",
  "rgb": {
    "r": 199,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 273.333,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72572,
    "c": 0.18688,
    "h": 308.1
  },
  "luminance": 0.35063
}

Semantic roles & 50–950 ramp

primary
#C781FF
secondary
#E4F7D4
accent
#E60066
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C781FF

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

Preview Lab → · Contrast checker → · Palette generator →

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