#C278F7#C278F7

#C278F7 is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.3% C 0.190 H 309.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#C278F7
RGBrgb(194, 120, 247)
HSLhsl(275, 89%, 72%)
HSVhsv(275, 51%, 97%)
CMYKcmyk(21.5%, 51.4%, 0%, 3.1%)
CIE-LABlab(63.03, 51.22, -52.60)
CIE-LCHlch(63.03, 73.42, 314.24°)
OKLaboklab(70.27% 0.1203 -0.1473)
OKLCHoklch(70.27% 0.19 309.2)
XYZxyz(45.7499, 31.6184, 91.6705)
Luminance0.3162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C278F7 #ADF778
analogous
#8378F7 #C278F7 #F778EC
triadic
#C278F7 #F7C278 #78F7C2
tetradic
#C278F7 #F78378 #ADF778 #78ECF7
square
#C278F7 #F78378 #ADF778 #78ECF7
split-complementary
#C278F7 #ECF778 #78F783
monochromatic
#8C0EE7 #A83EF4 #C278F7 #DCB2FA #F2E2FD

Accessibility & contrast

On white

2.87
#C278F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#C278F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C278F7
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C278F7#FFFFFF#000000##000000
##C278F71.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5495FB
Deuteranopia (green-blind)
#6B9AF4
Tritanopia (blue-blind)
#BB8EAC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c278f7;
/* rgb */ color: rgb(194, 120, 247);
/* oklch */ color: oklch(70.3% 0.190 309.2);
Tailwind
colors: {
  custom: {
    50: '#d7a1fa',
    500: '#c278f7',
    950: '#000000',
  },
}
SCSS
$custom: #c278f7;
$custom-light: #d7a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c278f7",
  "rgb": {
    "r": 194,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 274.961,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70265,
    "c": 0.1902,
    "h": 309.2
  },
  "luminance": 0.31618
}

Semantic roles & 50–950 ramp

primary
#C278F7
secondary
#E3F5D5
accent
#E50060
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C278F7

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

Preview Lab → · Contrast checker → · Palette generator →

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