#C274F5#C274F5

#C274F5 is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.6% C 0.194 H 310.2°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#C274F5
RGBrgb(194, 116, 245)
HSLhsl(276, 87%, 71%)
HSVhsv(276, 53%, 96%)
CMYKcmyk(20.8%, 52.7%, 0%, 3.9%)
CIE-LABlab(62.13, 52.85, -52.92)
CIE-LCHlch(62.13, 74.79, 314.96°)
OKLaboklab(69.57% 0.1253 -0.1482)
OKLCHoklch(69.57% 0.194 310.2)
XYZxyz(44.9719, 30.5535, 89.8968)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C274F5 #A7F574
analogous
#8174F5 #C274F5 #F574E7
triadic
#C274F5 #F5C274 #74F5C2
tetradic
#C274F5 #F58174 #A7F574 #74E7F5
square
#C274F5 #F58174 #A7F574 #74E7F5
split-complementary
#C274F5 #E7F574 #74F581
monochromatic
#8D10DF #A93BF1 #C274F5 #DBADF9 #F2E2FD

Accessibility & contrast

On white

2.95
#C274F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#C274F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C274F5
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C274F5#FFFFFF#000000##000000
##C274F51.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93F9
Deuteranopia (green-blind)
#6998F2
Tritanopia (blue-blind)
#BC8AAA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c274f5;
/* rgb */ color: rgb(194, 116, 245);
/* oklch */ color: oklch(69.6% 0.194 310.2);
Tailwind
colors: {
  custom: {
    50: '#d79ef9',
    500: '#c274f5',
    950: '#000000',
  },
}
SCSS
$custom: #c274f5;
$custom-light: #d79ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#c274f5",
  "rgb": {
    "r": 194,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 276.279,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69569,
    "c": 0.19413,
    "h": 310.2
  },
  "luminance": 0.30553
}

Semantic roles & 50–950 ramp

primary
#C274F5
secondary
#DFF4D1
accent
#E3025B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C274F5

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

Preview Lab → · Contrast checker → · Palette generator →

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