#C273EF#C273EF

#C273EF is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.1% C 0.189 H 311.8°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#C273EF
RGBrgb(194, 115, 239)
HSLhsl(278, 79%, 69%)
HSVhsv(278, 52%, 94%)
CMYKcmyk(18.8%, 51.9%, 0%, 6.3%)
CIE-LABlab(61.62, 52.08, -50.40)
CIE-LCHlch(61.62, 72.48, 315.94°)
OKLaboklab(69.1% 0.1262 -0.1409)
OKLCHoklch(69.1% 0.189 311.8)
XYZxyz(43.9561, 29.9638, 85.1126)
Luminance0.2996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C273EF #A0EF73
analogous
#8473EF #C273EF #EF73DE
triadic
#C273EF #EFC273 #73EFC2
tetradic
#C273EF #EF8473 #A0EF73 #73DEEF
square
#C273EF #EF8473 #A0EF73 #73DEEF
split-complementary
#C273EF #DEEF73 #73EF84
monochromatic
#8D18D0 #AA3CE9 #C273EF #DAAAF5 #F2E1FC

Accessibility & contrast

On white

3.00
#C273EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#C273EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C273EF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C273EF#FFFFFF#000000##000000
##C273EF1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F3
Deuteranopia (green-blind)
#6C97EC
Tritanopia (blue-blind)
#BD88A6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c273ef;
/* rgb */ color: rgb(194, 115, 239);
/* oklch */ color: oklch(69.1% 0.189 311.8);
Tailwind
colors: {
  custom: {
    50: '#d79ef5',
    500: '#c273ef',
    950: '#000000',
  },
}
SCSS
$custom: #c273ef;
$custom-light: #d79ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#c273ef",
  "rgb": {
    "r": 194,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 278.226,
    "s": 79.487,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69095,
    "c": 0.18914,
    "h": 311.8
  },
  "luminance": 0.29963
}

Semantic roles & 50–950 ramp

primary
#C273EF
secondary
#DAF1CD
accent
#DC0A56
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #C273EF

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

Preview Lab → · Contrast checker → · Palette generator →

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