#C274EB#C274EB

#C274EB is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.0% C 0.183 H 312.8°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#C274EB
RGBrgb(194, 116, 235)
HSLhsl(279, 75%, 69%)
HSVhsv(279, 51%, 92%)
CMYKcmyk(17.4%, 50.6%, 0%, 7.8%)
CIE-LABlab(61.62, 50.71, -48.19)
CIE-LCHlch(61.62, 69.96, 316.46°)
OKLaboklab(69.03% 0.1245 -0.1345)
OKLCHoklch(69.03% 0.183 312.8)
XYZxyz(43.4864, 29.9593, 82.0731)
Luminance0.2996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C274EB #9DEB74
analogous
#8774EB #C274EB #EB74D9
triadic
#C274EB #EBC274 #74EBC2
tetradic
#C274EB #EB8774 #9DEB74 #74D9EB
square
#C274EB #EB8774 #9DEB74 #74D9EB
split-complementary
#C274EB #D9EB74 #74EB87
monochromatic
#8D1DC8 #AB3EE3 #C274EB #D9AAF3 #F1DFFA

Accessibility & contrast

On white

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

On black

6.99
#C274EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C274EB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C274EB#FFFFFF#000000##000000
##C274EB1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791EF
Deuteranopia (green-blind)
#6F97E8
Tritanopia (blue-blind)
#BE87A5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c274eb;
/* rgb */ color: rgb(194, 116, 235);
/* oklch */ color: oklch(69.0% 0.183 312.8);
Tailwind
colors: {
  custom: {
    50: '#d79ef2',
    500: '#c274eb',
    950: '#000000',
  },
}
SCSS
$custom: #c274eb;
$custom-light: #d79ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#c274eb",
  "rgb": {
    "r": 194,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 279.328,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69027,
    "c": 0.18324,
    "h": 312.8
  },
  "luminance": 0.29958
}

Semantic roles & 50–950 ramp

primary
#C274EB
secondary
#D8EFCC
accent
#D70F54
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C274EB

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

Preview Lab → · Contrast checker → · Palette generator →

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