#C273FE#C273FE

#C273FE is a light, highly saturated violet. Relative luminance 0.309; OKLCH L 69.9% C 0.205 H 308.2°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#C273FE
RGBrgb(194, 115, 254)
HSLhsl(274, 99%, 72%)
HSVhsv(274, 55%, 100%)
CMYKcmyk(23.6%, 54.7%, 0%, 0.4%)
CIE-LABlab(62.41, 55.33, -57.43)
CIE-LCHlch(62.41, 79.75, 313.93°)
OKLaboklab(69.93% 0.1271 -0.1614)
OKLCHoklch(69.93% 0.205 308.2)
XYZxyz(46.2647, 30.8872, 97.2713)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C273FE #AFFE73
analogous
#7D73FE #C273FE #FE73F4
triadic
#C273FE #FEC273 #73FEC2
tetradic
#C273FE #FE7D73 #AFFE73 #73F4FE
square
#C273FE #FE7D73 #AFFE73 #73F4FE
split-complementary
#C273FE #F4FE73 #73FE7D
monochromatic
#8C02F5 #A836FE #C273FE #DCB0FE #F2E1FF

Accessibility & contrast

On white

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

On black

7.18
#C273FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C273FE
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C273FE#FFFFFF#000000##000000
##C273FE1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#B98CAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c273fe;
/* rgb */ color: rgb(194, 115, 254);
/* oklch */ color: oklch(69.9% 0.205 308.2);
Tailwind
colors: {
  custom: {
    50: '#d89eff',
    500: '#c273fe',
    950: '#000000',
  },
}
SCSS
$custom: #c273fe;
$custom-light: #d89eff;
$custom-dark: #000000;
JSON
{
  "hex": "#c273fe",
  "rgb": {
    "r": 194,
    "g": 115,
    "b": 254
  },
  "hsl": {
    "h": 274.101,
    "s": 98.582,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69932,
    "c": 0.20545,
    "h": 308.2
  },
  "luminance": 0.30887
}

Semantic roles & 50–950 ramp

primary
#C273FE
secondary
#E3F7D4
accent
#E60063
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C273FE

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

Preview Lab → · Contrast checker → · Palette generator →

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