#C274F9#C274F9

#C274F9 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.8% C 0.199 H 309.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#C274F9
RGBrgb(194, 116, 249)
HSLhsl(275, 92%, 72%)
HSVhsv(275, 53%, 98%)
CMYKcmyk(22.1%, 53.4%, 0%, 2.4%)
CIE-LABlab(62.34, 53.72, -54.79)
CIE-LCHlch(62.34, 76.74, 314.44°)
OKLaboklab(69.79% 0.1256 -0.1537)
OKLCHoklch(69.79% 0.199 309.2)
XYZxyz(45.5891, 30.8004, 93.1476)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C274F9 #ABF974
analogous
#8074F9 #C274F9 #F974EE
triadic
#C274F9 #F9C274 #74F9C2
tetradic
#C274F9 #F98074 #ABF974 #74EEF9
square
#C274F9 #F98074 #ABF974 #74EEF9
split-complementary
#C274F9 #EEF974 #74F980
monochromatic
#8D0AE9 #A839F6 #C274F9 #DCAFFC #F2E2FE

Accessibility & contrast

On white

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

On black

7.16
#C274F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C274F9
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C274F9#FFFFFF#000000##000000
##C274F91.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C93FD
Deuteranopia (green-blind)
#6698F6
Tritanopia (blue-blind)
#BB8BAC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c274f9;
/* rgb */ color: rgb(194, 116, 249);
/* oklch */ color: oklch(69.8% 0.199 309.2);
Tailwind
colors: {
  custom: {
    50: '#d79ffc',
    500: '#c274f9',
    950: '#000000',
  },
}
SCSS
$custom: #c274f9;
$custom-light: #d79ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#c274f9",
  "rgb": {
    "r": 194,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 275.188,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69791,
    "c": 0.1985,
    "h": 309.2
  },
  "luminance": 0.308
}

Semantic roles & 50–950 ramp

primary
#C274F9
secondary
#E1F5D3
accent
#E6005F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C274F9

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

Preview Lab → · Contrast checker → · Palette generator →

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