#C278DB#C278DB

#C278DB is a light, vivid purple. Relative luminance 0.300; OKLCH L 68.8% C 0.159 H 317.2°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#C278DB
RGBrgb(194, 120, 219)
HSLhsl(285, 58%, 66%)
HSVhsv(285, 45%, 86%)
CMYKcmyk(11.4%, 45.2%, 0%, 14.1%)
CIE-LABlab(61.67, 45.29, -39.19)
CIE-LCHlch(61.67, 59.90, 319.13°)
OKLaboklab(68.82% 0.1169 -0.1084)
OKLCHoklch(68.82% 0.159 317.2)
XYZxyz(41.7490, 30.0180, 70.5989)
Luminance0.3002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C278DB #91DB78
analogous
#9178DB #C278DB #DB78C3
triadic
#C278DB #DBC278 #78DBC2
tetradic
#C278DB #DB9178 #91DB78 #78C3DB
square
#C278DB #DB9178 #91DB78 #78C3DB
split-complementary
#C278DB #C3DB78 #78DB91
monochromatic
#8B2EAB #AC48CE #C278DB #D8A8E8 #EED9F5

Accessibility & contrast

On white

3.00
#C278DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#C278DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C278DB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C278DB#FFFFFF#000000##000000
##C278DB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6790DE
Deuteranopia (green-blind)
#7B97D8
Tritanopia (blue-blind)
#C1869F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c278db;
/* rgb */ color: rgb(194, 120, 219);
/* oklch */ color: oklch(68.8% 0.159 317.2);
Tailwind
colors: {
  custom: {
    50: '#d6a1e6',
    500: '#c278db',
    950: '#000000',
  },
}
SCSS
$custom: #c278db;
$custom-light: #d6a1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c278db",
  "rgb": {
    "r": 194,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 284.848,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68815,
    "c": 0.15945,
    "h": 317.2
  },
  "luminance": 0.30017
}

Semantic roles & 50–950 ramp

primary
#C278DB
secondary
#CFE7C7
accent
#C5204A
background
#FDFAFE
surface
#FAF3FC
border
#D3CDD5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C278DB

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

Preview Lab → · Contrast checker → · Palette generator →

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