#C273ED#C273ED

#C273ED is a light, vivid violet. Relative luminance 0.298; OKLCH L 69.0% C 0.187 H 312.4°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#C273ED
RGBrgb(194, 115, 237)
HSLhsl(279, 77%, 69%)
HSVhsv(279, 51%, 93%)
CMYKcmyk(18.1%, 51.5%, 0%, 7.1%)
CIE-LABlab(61.52, 51.65, -49.46)
CIE-LCHlch(61.52, 71.51, 316.25°)
OKLaboklab(68.99% 0.126 -0.1381)
OKLCHoklch(68.99% 0.187 312.4)
XYZxyz(43.6623, 29.8462, 83.5652)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C273ED #9EED73
analogous
#8573ED #C273ED #ED73DB
triadic
#C273ED #EDC273 #73EDC2
tetradic
#C273ED #ED8573 #9EED73 #73DBED
square
#C273ED #ED8573 #9EED73 #73DBED
split-complementary
#C273ED #DBED73 #73ED85
monochromatic
#8D1ACB #AA3DE6 #C273ED #DAA9F4 #F1DFFB

Accessibility & contrast

On white

3.01
#C273ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#C273ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C273ED
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C273ED#FFFFFF#000000##000000
##C273ED1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F1
Deuteranopia (green-blind)
#6D96EA
Tritanopia (blue-blind)
#BE87A5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c273ed;
/* rgb */ color: rgb(194, 115, 237);
/* oklch */ color: oklch(69.0% 0.187 312.4);
Tailwind
colors: {
  custom: {
    50: '#d79ef3',
    500: '#c273ed',
    950: '#000000',
  },
}
SCSS
$custom: #c273ed;
$custom-light: #d79ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#c273ed",
  "rgb": {
    "r": 194,
    "g": 115,
    "b": 237
  },
  "hsl": {
    "h": 278.852,
    "s": 77.215,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68987,
    "c": 0.18698,
    "h": 312.4
  },
  "luminance": 0.29845
}

Semantic roles & 50–950 ramp

primary
#C273ED
secondary
#D9F0CC
accent
#D90C54
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C273ED

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

Preview Lab → · Contrast checker → · Palette generator →

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