#C783FC#C783FC

#C783FC is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.7% C 0.180 H 308.5°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#C783FC
RGBrgb(199, 131, 252)
HSLhsl(274, 95%, 75%)
HSVhsv(274, 48%, 99%)
CMYKcmyk(21%, 48%, 0%, 1.2%)
CIE-LABlab(66.06, 47.85, -50.50)
CIE-LCHlch(66.06, 69.57, 313.45°)
OKLaboklab(72.72% 0.1123 -0.1411)
OKLCHoklch(72.72% 0.18 308.5)
XYZxyz(49.2368, 35.4036, 96.3164)
Luminance0.3540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C783FC #B8FC83
analogous
#8A83FC #C783FC #FC83F5
triadic
#C783FC #FCC783 #83FCC7
tetradic
#C783FC #FC8A83 #B8FC83 #83F5FC
square
#C783FC #FC8A83 #B8FC83 #83F5FC
split-complementary
#C783FC #F5FC83 #83FC8A
monochromatic
#910BF9 #AC47FB #C783FC #E2BFFD #F2E1FE

Accessibility & contrast

On white

2.60
#C783FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#C783FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C783FC
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C783FC#FFFFFF#000000##000000
##C783FC1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#77A1F9
Tritanopia (blue-blind)
#C097B4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c783fc;
/* rgb */ color: rgb(199, 131, 252);
/* oklch */ color: oklch(72.7% 0.180 308.5);
Tailwind
colors: {
  custom: {
    50: '#daa9fe',
    500: '#c783fc',
    950: '#000000',
  },
}
SCSS
$custom: #c783fc;
$custom-light: #daa9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c783fc",
  "rgb": {
    "r": 199,
    "g": 131,
    "b": 252
  },
  "hsl": {
    "h": 273.719,
    "s": 95.276,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72719,
    "c": 0.18033,
    "h": 308.5
  },
  "luminance": 0.35403
}

Semantic roles & 50–950 ramp

primary
#C783FC
secondary
#E3F7D4
accent
#E60065
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C783FC

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

Preview Lab → · Contrast checker → · Palette generator →

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