#C273EC#C273EC

#C273EC is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.9% C 0.186 H 312.6°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#C273EC
RGBrgb(194, 115, 236)
HSLhsl(279, 76%, 69%)
HSVhsv(279, 51%, 93%)
CMYKcmyk(17.8%, 51.3%, 0%, 7.5%)
CIE-LABlab(61.47, 51.44, -48.98)
CIE-LCHlch(61.47, 71.03, 316.40°)
OKLaboklab(68.93% 0.1259 -0.1368)
OKLCHoklch(68.93% 0.186 312.6)
XYZxyz(43.5166, 29.7879, 82.7979)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C273EC #9DEC73
analogous
#8673EC #C273EC #EC73D9
triadic
#C273EC #ECC273 #73ECC2
tetradic
#C273EC #EC8673 #9DEC73 #73D9EC
square
#C273EC #EC8673 #9DEC73 #73D9EC
split-complementary
#C273EC #D9EC73 #73EC86
monochromatic
#8D1BC9 #AB3DE5 #C273EC #D9A9F3 #F1DFFB

Accessibility & contrast

On white

3.02
#C273EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#C273EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C273EC
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C273EC#FFFFFF#000000##000000
##C273EC1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#6E96E9
Tritanopia (blue-blind)
#BE87A5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c273ec;
/* rgb */ color: rgb(194, 115, 236);
/* oklch */ color: oklch(68.9% 0.186 312.6);
Tailwind
colors: {
  custom: {
    50: '#d79ef2',
    500: '#c273ec',
    950: '#000000',
  },
}
SCSS
$custom: #c273ec;
$custom-light: #d79ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#c273ec",
  "rgb": {
    "r": 194,
    "g": 115,
    "b": 236
  },
  "hsl": {
    "h": 279.174,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68933,
    "c": 0.1859,
    "h": 312.6
  },
  "luminance": 0.29787
}

Semantic roles & 50–950 ramp

primary
#C273EC
secondary
#D8EFCC
accent
#D80D54
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C273EC

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

Preview Lab → · Contrast checker → · Palette generator →

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