#C278FF#C278FF

#C278FF is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.7% C 0.199 H 307.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#C278FF
RGBrgb(194, 120, 255)
HSLhsl(273, 100%, 74%)
HSVhsv(273, 53%, 100%)
CMYKcmyk(23.9%, 52.9%, 0%, 0%)
CIE-LABlab(63.44, 52.99, -56.33)
CIE-LCHlch(63.44, 77.34, 313.25°)
OKLaboklab(70.71% 0.1209 -0.1582)
OKLCHoklch(70.71% 0.199 307.4)
XYZxyz(47.0109, 32.1228, 98.3121)
Luminance0.3212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C278FF #B5FF78
analogous
#7E78FF #C278FF #FF78F8
triadic
#C278FF #FFC278 #78FFC2
tetradic
#C278FF #FF7E78 #B5FF78 #78F8FF
square
#C278FF #FF7E78 #B5FF78 #78F8FF
split-complementary
#C278FF #F8FF78 #78FF7E
monochromatic
#8A00FD #A63BFF #C278FF #DEB5FF #F1E0FF

Accessibility & contrast

On white

2.83
#C278FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#C278FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C278FF
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C278FF#FFFFFF#000000##000000
##C278FF1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D97FF
Deuteranopia (green-blind)
#669AFC
Tritanopia (blue-blind)
#B990B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c278ff;
/* rgb */ color: rgb(194, 120, 255);
/* oklch */ color: oklch(70.7% 0.199 307.4);
Tailwind
colors: {
  custom: {
    50: '#d7a1ff',
    500: '#c278ff',
    950: '#000000',
  },
}
SCSS
$custom: #c278ff;
$custom-light: #d7a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c278ff",
  "rgb": {
    "r": 194,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 272.889,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70709,
    "c": 0.19911,
    "h": 307.4
  },
  "luminance": 0.32122
}

Semantic roles & 50–950 ramp

primary
#C278FF
secondary
#E4F7D4
accent
#E60068
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C278FF

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

Preview Lab → · Contrast checker → · Palette generator →

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