#C773F5#C773F5

#C773F5 is a light, vivid violet. Relative luminance 0.310; OKLCH L 70.0% C 0.197 H 312.2°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#C773F5
RGBrgb(199, 115, 245)
HSLhsl(279, 87%, 71%)
HSVhsv(279, 53%, 96%)
CMYKcmyk(18.8%, 53.1%, 0%, 3.9%)
CIE-LABlab(62.51, 54.64, -52.29)
CIE-LCHlch(62.51, 75.63, 316.26°)
OKLaboklab(69.97% 0.1326 -0.1463)
OKLCHoklch(69.97% 0.197 312.2)
XYZxyz(46.1625, 30.9972, 89.9198)
Luminance0.3100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C773F5 #A1F573
analogous
#8673F5 #C773F5 #F573E2
triadic
#C773F5 #F5C773 #73F5C7
tetradic
#C773F5 #F58673 #A1F573 #73E2F5
square
#C773F5 #F58673 #A1F573 #73E2F5
split-complementary
#C773F5 #E2F573 #73F586
monochromatic
#9510DE #B03AF1 #C773F5 #DEACF9 #F4E2FD

Accessibility & contrast

On white

2.92
#C773F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#C773F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C773F5
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C773F5#FFFFFF#000000##000000
##C773F51.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093F9
Deuteranopia (green-blind)
#6C99F2
Tritanopia (blue-blind)
#C289A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c773f5;
/* rgb */ color: rgb(199, 115, 245);
/* oklch */ color: oklch(70.0% 0.197 312.2);
Tailwind
colors: {
  custom: {
    50: '#db9ef9',
    500: '#c773f5',
    950: '#000000',
  },
}
SCSS
$custom: #c773f5;
$custom-light: #db9ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#c773f5",
  "rgb": {
    "r": 199,
    "g": 115,
    "b": 245
  },
  "hsl": {
    "h": 278.769,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69972,
    "c": 0.19743,
    "h": 312.2
  },
  "luminance": 0.30996
}

Semantic roles & 50–950 ramp

primary
#C773F5
secondary
#DDF4D0
accent
#E30252
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C773F5

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

Preview Lab → · Contrast checker → · Palette generator →

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