#C274F2#C274F2

#C274F2 is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.4% C 0.191 H 311.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#C274F2
RGBrgb(194, 116, 242)
HSLhsl(277, 83%, 70%)
HSVhsv(277, 52%, 95%)
CMYKcmyk(19.8%, 52.1%, 0%, 5.1%)
CIE-LABlab(61.97, 52.21, -51.51)
CIE-LCHlch(61.97, 73.34, 315.39°)
OKLaboklab(69.4% 0.1251 -0.1441)
OKLCHoklch(69.4% 0.191 311)
XYZxyz(44.5176, 30.3718, 87.5044)
Luminance0.3037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C274F2 #A4F274
analogous
#8374F2 #C274F2 #F274E3
triadic
#C274F2 #F2C274 #74F2C2
tetradic
#C274F2 #F28374 #A4F274 #74E3F2
square
#C274F2 #F28374 #A4F274 #74E3F2
split-complementary
#C274F2 #E3F274 #74F283
monochromatic
#8D14D7 #A93CED #C274F2 #DBACF7 #F3E3FC

Accessibility & contrast

On white

2.97
#C274F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#C274F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C274F2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C274F2#FFFFFF#000000##000000
##C274F21.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#6B97EF
Tritanopia (blue-blind)
#BC89A8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c274f2;
/* rgb */ color: rgb(194, 116, 242);
/* oklch */ color: oklch(69.4% 0.191 311.0);
Tailwind
colors: {
  custom: {
    50: '#d79ef7',
    500: '#c274f2',
    950: '#000000',
  },
}
SCSS
$custom: #c274f2;
$custom-light: #d79ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#c274f2",
  "rgb": {
    "r": 194,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 277.143,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69404,
    "c": 0.19086,
    "h": 311
  },
  "luminance": 0.30371
}

Semantic roles & 50–950 ramp

primary
#C274F2
secondary
#DDF2CF
accent
#DF0659
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C274F2

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

Preview Lab → · Contrast checker → · Palette generator →

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