#C773F2#C773F2

#C773F2 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.8% C 0.194 H 313.0°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#C773F2
RGBrgb(199, 115, 242)
HSLhsl(280, 83%, 70%)
HSVhsv(280, 52%, 95%)
CMYKcmyk(17.8%, 52.5%, 0%, 5.1%)
CIE-LABlab(62.35, 54.01, -50.87)
CIE-LCHlch(62.35, 74.20, 316.71°)
OKLaboklab(69.81% 0.1324 -0.1421)
OKLCHoklch(69.81% 0.194 313)
XYZxyz(45.7082, 30.8155, 87.5273)
Luminance0.3081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C773F2 #9EF273
analogous
#8773F2 #C773F2 #F273DE
triadic
#C773F2 #F2C773 #73F2C7
tetradic
#C773F2 #F28773 #9EF273 #73DEF2
square
#C773F2 #F28773 #9EF273 #73DEF2
split-complementary
#C773F2 #DEF273 #73F287
monochromatic
#9514D7 #B13BED #C773F2 #DDABF7 #F4E3FC

Accessibility & contrast

On white

2.93
#C773F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#C773F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C773F2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C773F2#FFFFFF#000000##000000
##C773F21.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#6E99EF
Tritanopia (blue-blind)
#C388A8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c773f2;
/* rgb */ color: rgb(199, 115, 242);
/* oklch */ color: oklch(69.8% 0.194 313.0);
Tailwind
colors: {
  custom: {
    50: '#db9ef7',
    500: '#c773f2',
    950: '#000000',
  },
}
SCSS
$custom: #c773f2;
$custom-light: #db9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#c773f2",
  "rgb": {
    "r": 199,
    "g": 115,
    "b": 242
  },
  "hsl": {
    "h": 279.685,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.69809,
    "c": 0.19425,
    "h": 313
  },
  "luminance": 0.30814
}

Semantic roles & 50–950 ramp

primary
#C773F2
secondary
#DBF2CF
accent
#DF0650
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C773F2

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

Preview Lab → · Contrast checker → · Palette generator →

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