#C272ED#C272ED

#C272ED is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.8% C 0.189 H 312.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#C272ED
RGBrgb(194, 114, 237)
HSLhsl(279, 77%, 69%)
HSVhsv(279, 52%, 93%)
CMYKcmyk(18.1%, 51.9%, 0%, 7.1%)
CIE-LABlab(61.32, 52.17, -49.77)
CIE-LCHlch(61.32, 72.10, 316.35°)
OKLaboklab(68.84% 0.1273 -0.139)
OKLCHoklch(68.84% 0.189 312.5)
XYZxyz(43.5489, 29.6194, 83.5274)
Luminance0.2962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C272ED #9DED72
analogous
#8572ED #C272ED #ED72DB
triadic
#C272ED #EDC272 #72EDC2
tetradic
#C272ED #ED8572 #9DED72 #72DBED
square
#C272ED #ED8572 #9DED72 #72DBED
split-complementary
#C272ED #DBED72 #72ED85
monochromatic
#8D1ACB #AB3CE6 #C272ED #D9A8F4 #F1DFFB

Accessibility & contrast

On white

3.03
#C272ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#C272ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C272ED
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C272ED#FFFFFF#000000##000000
##C272ED1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5390F1
Deuteranopia (green-blind)
#6C96EA
Tritanopia (blue-blind)
#BE86A5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c272ed;
/* rgb */ color: rgb(194, 114, 237);
/* oklch */ color: oklch(68.8% 0.189 312.5);
Tailwind
colors: {
  custom: {
    50: '#d79df3',
    500: '#c272ed',
    950: '#000000',
  },
}
SCSS
$custom: #c272ed;
$custom-light: #d79df3;
$custom-dark: #000000;
JSON
{
  "hex": "#c272ed",
  "rgb": {
    "r": 194,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 279.024,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68842,
    "c": 0.18853,
    "h": 312.5
  },
  "luminance": 0.29618
}

Semantic roles & 50–950 ramp

primary
#C272ED
secondary
#D8F0CB
accent
#DA0C54
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C272ED

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

Preview Lab → · Contrast checker → · Palette generator →

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