#C272EB#C272EB

#C272EB is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.7% C 0.186 H 313.0°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#C272EB
RGBrgb(194, 114, 235)
HSLhsl(280, 75%, 68%)
HSVhsv(280, 51%, 92%)
CMYKcmyk(17.4%, 51.5%, 0%, 7.8%)
CIE-LABlab(61.22, 51.75, -48.82)
CIE-LCHlch(61.22, 71.14, 316.67°)
OKLaboklab(68.73% 0.1271 -0.1363)
OKLCHoklch(68.73% 0.186 313)
XYZxyz(43.2583, 29.5032, 81.9971)
Luminance0.2950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C272EB #9BEB72
analogous
#8572EB #C272EB #EB72D8
triadic
#C272EB #EBC272 #72EBC2
tetradic
#C272EB #EB8572 #9BEB72 #72D8EB
square
#C272EB #EB8572 #9BEB72 #72D8EB
split-complementary
#C272EB #D8EB72 #72EB85
monochromatic
#8D1CC6 #AB3CE3 #C272EB #D9A8F3 #F0DDFA

Accessibility & contrast

On white

3.04
#C272EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#C272EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C272EB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C272EB#FFFFFF#000000##000000
##C272EB1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEF
Deuteranopia (green-blind)
#6D96E8
Tritanopia (blue-blind)
#BE86A4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c272eb;
/* rgb */ color: rgb(194, 114, 235);
/* oklch */ color: oklch(68.7% 0.186 313.0);
Tailwind
colors: {
  custom: {
    50: '#d79df2',
    500: '#c272eb',
    950: '#000000',
  },
}
SCSS
$custom: #c272eb;
$custom-light: #d79df2;
$custom-dark: #000000;
JSON
{
  "hex": "#c272eb",
  "rgb": {
    "r": 194,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 279.669,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68734,
    "c": 0.18639,
    "h": 313
  },
  "luminance": 0.29502
}

Semantic roles & 50–950 ramp

primary
#C272EB
secondary
#D7EFCA
accent
#D70E52
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C272EB

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

Preview Lab → · Contrast checker → · Palette generator →

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