#C273E7#C273E7

#C273E7 is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.7% C 0.181 H 314.0°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#C273E7
RGBrgb(194, 115, 231)
HSLhsl(281, 71%, 68%)
HSVhsv(281, 50%, 91%)
CMYKcmyk(16%, 50.2%, 0%, 9.4%)
CIE-LABlab(61.22, 50.39, -46.59)
CIE-LCHlch(61.22, 68.63, 317.24°)
OKLaboklab(68.67% 0.1254 -0.1298)
OKLCHoklch(68.67% 0.181 314)
XYZxyz(42.8003, 29.5014, 79.0255)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C273E7 #98E773
analogous
#8873E7 #C273E7 #E773D2
triadic
#C273E7 #E7C273 #73E7C2
tetradic
#C273E7 #E78873 #98E773 #73D2E7
square
#C273E7 #E78873 #98E773 #73D2E7
split-complementary
#C273E7 #D2E773 #73E788
monochromatic
#8C21BF #AB3FDE #C273E7 #D9A7F0 #F0DBF9

Accessibility & contrast

On white

3.04
#C273E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#C273E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C273E7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C273E7#FFFFFF#000000##000000
##C273E71.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#598FEB
Deuteranopia (green-blind)
#7096E4
Tritanopia (blue-blind)
#BF85A3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c273e7;
/* rgb */ color: rgb(194, 115, 231);
/* oklch */ color: oklch(68.7% 0.181 314.0);
Tailwind
colors: {
  custom: {
    50: '#d79eef',
    500: '#c273e7',
    950: '#000000',
  },
}
SCSS
$custom: #c273e7;
$custom-light: #d79eef;
$custom-dark: #000000;
JSON
{
  "hex": "#c273e7",
  "rgb": {
    "r": 194,
    "g": 115,
    "b": 231
  },
  "hsl": {
    "h": 280.862,
    "s": 70.732,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68668,
    "c": 0.18051,
    "h": 314
  },
  "luminance": 0.295
}

Semantic roles & 50–950 ramp

primary
#C273E7
secondary
#D4EDC9
accent
#D31350
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C273E7

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

Preview Lab → · Contrast checker → · Palette generator →

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