#C274FA#C274FA

#C274FA is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.8% C 0.200 H 309.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#C274FA
RGBrgb(194, 116, 250)
HSLhsl(275, 93%, 72%)
HSVhsv(275, 54%, 98%)
CMYKcmyk(22.4%, 53.6%, 0%, 2%)
CIE-LABlab(62.39, 53.94, -55.26)
CIE-LCHlch(62.39, 77.22, 314.31°)
OKLaboklab(69.85% 0.1257 -0.1551)
OKLCHoklch(69.85% 0.2 309)
XYZxyz(45.7455, 30.8630, 93.9712)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C274FA #ACFA74
analogous
#7F74FA #C274FA #FA74EF
triadic
#C274FA #FAC274 #74FAC2
tetradic
#C274FA #FA7F74 #ACFA74 #74EFFA
square
#C274FA #FA7F74 #ACFA74 #74EFFA
split-complementary
#C274FA #EFFA74 #74FA7F
monochromatic
#8C08EB #A839F8 #C274FA #DCAFFC #F2E1FE

Accessibility & contrast

On white

2.93
#C274FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#C274FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C274FA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C274FA#FFFFFF#000000##000000
##C274FA1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FE
Deuteranopia (green-blind)
#6598F7
Tritanopia (blue-blind)
#BA8CAC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c274fa;
/* rgb */ color: rgb(194, 116, 250);
/* oklch */ color: oklch(69.8% 0.200 309.0);
Tailwind
colors: {
  custom: {
    50: '#d79ffc',
    500: '#c274fa',
    950: '#000000',
  },
}
SCSS
$custom: #c274fa;
$custom-light: #d79ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#c274fa",
  "rgb": {
    "r": 194,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 274.925,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69848,
    "c": 0.19959,
    "h": 309
  },
  "luminance": 0.30862
}

Semantic roles & 50–950 ramp

primary
#C274FA
secondary
#E2F6D4
accent
#E60060
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C274FA

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

Preview Lab → · Contrast checker → · Palette generator →

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