#C274FE#C274FE

#C274FE is a light, highly saturated violet. Relative luminance 0.311; OKLCH L 70.1% C 0.204 H 308.1°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#C274FE
RGBrgb(194, 116, 254)
HSLhsl(274, 99%, 73%)
HSVhsv(274, 54%, 100%)
CMYKcmyk(23.6%, 54.3%, 0%, 0.4%)
CIE-LABlab(62.61, 54.82, -57.12)
CIE-LCHlch(62.61, 79.17, 313.82°)
OKLaboklab(70.07% 0.1259 -0.1605)
OKLCHoklch(70.07% 0.204 308.1)
XYZxyz(46.3793, 31.1165, 97.3095)
Luminance0.3112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C274FE #B0FE74
analogous
#7D74FE #C274FE #FE74F5
triadic
#C274FE #FEC274 #74FEC2
tetradic
#C274FE #FE7D74 #B0FE74 #74F5FE
square
#C274FE #FE7D74 #B0FE74 #74F5FE
split-complementary
#C274FE #F5FE74 #74FE7D
monochromatic
#8C02F6 #A737FE #C274FE #DDB1FE #F2E1FF

Accessibility & contrast

On white

2.91
#C274FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#C274FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C274FE
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C274FE#FFFFFF#000000##000000
##C274FE1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#6298FB
Tritanopia (blue-blind)
#B98DAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c274fe;
/* rgb */ color: rgb(194, 116, 254);
/* oklch */ color: oklch(70.1% 0.204 308.1);
Tailwind
colors: {
  custom: {
    50: '#d89fff',
    500: '#c274fe',
    950: '#000000',
  },
}
SCSS
$custom: #c274fe;
$custom-light: #d89fff;
$custom-dark: #000000;
JSON
{
  "hex": "#c274fe",
  "rgb": {
    "r": 194,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 273.913,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70074,
    "c": 0.20397,
    "h": 308.1
  },
  "luminance": 0.31116
}

Semantic roles & 50–950 ramp

primary
#C274FE
secondary
#E3F7D4
accent
#E60064
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C274FE

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

Preview Lab → · Contrast checker → · Palette generator →

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