#C783FE#C783FE

#C783FE is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.8% C 0.183 H 308.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#C783FE
RGBrgb(199, 131, 254)
HSLhsl(273, 98%, 75%)
HSVhsv(273, 48%, 100%)
CMYKcmyk(21.7%, 48.4%, 0%, 0.4%)
CIE-LABlab(66.16, 48.29, -51.44)
CIE-LCHlch(66.16, 70.56, 313.19°)
OKLaboklab(72.82% 0.1125 -0.1439)
OKLCHoklch(72.82% 0.183 308)
XYZxyz(49.5554, 35.5311, 97.9943)
Luminance0.3553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C783FE #BAFE83
analogous
#8983FE #C783FE #FE83F7
triadic
#C783FE #FEC783 #83FEC7
tetradic
#C783FE #FE8983 #BAFE83 #83F7FE
square
#C783FE #FE8983 #BAFE83 #83F7FE
split-complementary
#C783FE #F7FE83 #83FE89
monochromatic
#900AFD #AC46FE #C783FE #E2C0FE #F1E1FF

Accessibility & contrast

On white

2.59
#C783FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#C783FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C783FE
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C783FE#FFFFFF#000000##000000
##C783FE1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#75A2FB
Tritanopia (blue-blind)
#BF98B5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c783fe;
/* rgb */ color: rgb(199, 131, 254);
/* oklch */ color: oklch(72.8% 0.183 308.0);
Tailwind
colors: {
  custom: {
    50: '#daa9ff',
    500: '#c783fe',
    950: '#000000',
  },
}
SCSS
$custom: #c783fe;
$custom-light: #daa9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c783fe",
  "rgb": {
    "r": 199,
    "g": 131,
    "b": 254
  },
  "hsl": {
    "h": 273.171,
    "s": 98.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72825,
    "c": 0.18262,
    "h": 308
  },
  "luminance": 0.3553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C783FE

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

Preview Lab → · Contrast checker → · Palette generator →

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