#C274F8#C274F8

#C274F8 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.7% C 0.197 H 309.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#C274F8
RGBrgb(194, 116, 248)
HSLhsl(275, 90%, 71%)
HSVhsv(275, 53%, 97%)
CMYKcmyk(21.8%, 53.2%, 0%, 2.7%)
CIE-LABlab(62.29, 53.51, -54.33)
CIE-LCHlch(62.29, 76.25, 314.56°)
OKLaboklab(69.74% 0.1255 -0.1524)
OKLCHoklch(69.74% 0.197 309.5)
XYZxyz(45.4336, 30.7382, 92.3284)
Luminance0.3074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C274F8 #AAF874
analogous
#8074F8 #C274F8 #F874EC
triadic
#C274F8 #F8C274 #74F8C2
tetradic
#C274F8 #F88074 #AAF874 #74ECF8
square
#C274F8 #F88074 #AAF874 #74ECF8
split-complementary
#C274F8 #ECF874 #74F880
monochromatic
#8D0CE6 #A83AF5 #C274F8 #DCAEFB #F2E2FE

Accessibility & contrast

On white

2.94
#C274F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#C274F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C274F8
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C274F8#FFFFFF#000000##000000
##C274F81.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FC
Deuteranopia (green-blind)
#6798F5
Tritanopia (blue-blind)
#BB8BAB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c274f8;
/* rgb */ color: rgb(194, 116, 248);
/* oklch */ color: oklch(69.7% 0.197 309.5);
Tailwind
colors: {
  custom: {
    50: '#d79ffb',
    500: '#c274f8',
    950: '#000000',
  },
}
SCSS
$custom: #c274f8;
$custom-light: #d79ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#c274f8",
  "rgb": {
    "r": 194,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 275.455,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69735,
    "c": 0.1974,
    "h": 309.5
  },
  "luminance": 0.30737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C274F8

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

Preview Lab → · Contrast checker → · Palette generator →

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