#C274EC#C274EC

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

Color values

HEX#C274EC
RGBrgb(194, 116, 236)
HSLhsl(279, 76%, 69%)
HSVhsv(279, 51%, 93%)
CMYKcmyk(17.8%, 50.8%, 0%, 7.5%)
CIE-LABlab(61.67, 50.93, -48.67)
CIE-LCHlch(61.67, 70.44, 316.30°)
OKLaboklab(69.08% 0.1246 -0.1359)
OKLCHoklch(69.08% 0.184 312.5)
XYZxyz(43.6312, 30.0172, 82.8361)
Luminance0.3002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C274EC #9EEC74
analogous
#8674EC #C274EC #EC74DA
triadic
#C274EC #ECC274 #74ECC2
tetradic
#C274EC #EC8674 #9EEC74 #74DAEC
square
#C274EC #EC8674 #9EEC74 #74DAEC
split-complementary
#C274EC #DAEC74 #74EC86
monochromatic
#8D1CCA #AA3EE5 #C274EC #DAAAF3 #F1E0FB

Accessibility & contrast

On white

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

On black

7.00
#C274EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C274EC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C274EC#FFFFFF#000000##000000
##C274EC1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F0
Deuteranopia (green-blind)
#6E97E9
Tritanopia (blue-blind)
#BE87A5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c274ec;
/* rgb */ color: rgb(194, 116, 236);
/* oklch */ color: oklch(69.1% 0.184 312.5);
Tailwind
colors: {
  custom: {
    50: '#d79ef2',
    500: '#c274ec',
    950: '#000000',
  },
}
SCSS
$custom: #c274ec;
$custom-light: #d79ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#c274ec",
  "rgb": {
    "r": 194,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 279,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6908,
    "c": 0.18433,
    "h": 312.5
  },
  "luminance": 0.30016
}

Semantic roles & 50–950 ramp

primary
#C274EC
secondary
#D9EFCC
accent
#D80D54
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C274EC

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

Preview Lab → · Contrast checker → · Palette generator →

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