#C273F5#C273F5

#C273F5 is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.4% C 0.196 H 310.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#C273F5
RGBrgb(194, 115, 245)
HSLhsl(276, 87%, 71%)
HSVhsv(276, 53%, 96%)
CMYKcmyk(20.8%, 53.1%, 0%, 3.9%)
CIE-LABlab(61.93, 53.37, -53.23)
CIE-LCHlch(61.93, 75.38, 315.07°)
OKLaboklab(69.42% 0.1266 -0.1491)
OKLCHoklch(69.42% 0.196 310.3)
XYZxyz(44.8572, 30.3242, 89.8586)
Luminance0.3032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C273F5 #A6F573
analogous
#8173F5 #C273F5 #F573E7
triadic
#C273F5 #F5C273 #73F5C2
tetradic
#C273F5 #F58173 #A6F573 #73E7F5
square
#C273F5 #F58173 #A6F573 #73E7F5
split-complementary
#C273F5 #E7F573 #73F581
monochromatic
#8D10DE #A93AF1 #C273F5 #DBACF9 #F3E2FD

Accessibility & contrast

On white

2.97
#C273F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#C273F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C273F5
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C273F5#FFFFFF#000000##000000
##C273F51.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E92F9
Deuteranopia (green-blind)
#6897F2
Tritanopia (blue-blind)
#BC89A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c273f5;
/* rgb */ color: rgb(194, 115, 245);
/* oklch */ color: oklch(69.4% 0.196 310.3);
Tailwind
colors: {
  custom: {
    50: '#d79ef9',
    500: '#c273f5',
    950: '#000000',
  },
}
SCSS
$custom: #c273f5;
$custom-light: #d79ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#c273f5",
  "rgb": {
    "r": 194,
    "g": 115,
    "b": 245
  },
  "hsl": {
    "h": 276.462,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69424,
    "c": 0.19565,
    "h": 310.3
  },
  "luminance": 0.30323
}

Semantic roles & 50–950 ramp

primary
#C273F5
secondary
#DEF4D0
accent
#E3025B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C273F5

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

Preview Lab → · Contrast checker → · Palette generator →

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