#C278FA#C278FA

#C278FA is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.4% C 0.194 H 308.5°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#C278FA
RGBrgb(194, 120, 250)
HSLhsl(274, 93%, 73%)
HSVhsv(274, 52%, 98%)
CMYKcmyk(22.4%, 52%, 0%, 2%)
CIE-LABlab(63.18, 51.88, -54.00)
CIE-LCHlch(63.18, 74.89, 313.85°)
OKLaboklab(70.43% 0.1205 -0.1514)
OKLCHoklch(70.43% 0.194 308.5)
XYZxyz(46.2165, 31.8050, 94.1282)
Luminance0.3180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C278FA #B0FA78
analogous
#8178FA #C278FA #FA78F1
triadic
#C278FA #FAC278 #78FAC2
tetradic
#C278FA #FA8178 #B0FA78 #78F1FA
square
#C278FA #FA8178 #B0FA78 #78F1FA
split-complementary
#C278FA #F1FA78 #78FA81
monochromatic
#8C09EF #A73DF8 #C278FA #DDB3FC #F2E1FE

Accessibility & contrast

On white

2.85
#C278FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#C278FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C278FA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C278FA#FFFFFF#000000##000000
##C278FA1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5296FE
Deuteranopia (green-blind)
#699AF7
Tritanopia (blue-blind)
#BA8FAE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c278fa;
/* rgb */ color: rgb(194, 120, 250);
/* oklch */ color: oklch(70.4% 0.194 308.5);
Tailwind
colors: {
  custom: {
    50: '#d7a1fc',
    500: '#c278fa',
    950: '#000000',
  },
}
SCSS
$custom: #c278fa;
$custom-light: #d7a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c278fa",
  "rgb": {
    "r": 194,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 274.154,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7043,
    "c": 0.19354,
    "h": 308.5
  },
  "luminance": 0.31804
}

Semantic roles & 50–950 ramp

primary
#C278FA
secondary
#E3F6D5
accent
#E60063
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C278FA

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

Preview Lab → · Contrast checker → · Palette generator →

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