#C281DC#C281DC

#C281DC is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.3% C 0.145 H 315.8°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#C281DC
RGBrgb(194, 129, 220)
HSLhsl(283, 57%, 68%)
HSVhsv(283, 41%, 86%)
CMYKcmyk(11.8%, 41.4%, 0%, 13.7%)
CIE-LABlab(63.62, 40.68, -36.70)
CIE-LCHlch(63.62, 54.79, 317.95°)
OKLaboklab(70.29% 0.1043 -0.1013)
OKLCHoklch(70.29% 0.145 315.8)
XYZxyz(43.0147, 32.3382, 71.6722)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C281DC #9BDC81
analogous
#9481DC #C281DC #DC81C8
triadic
#C281DC #DCC281 #81DCC2
tetradic
#C281DC #DC9481 #9BDC81 #81C8DC
square
#C281DC #DC9481 #9BDC81 #81C8DC
split-complementary
#C281DC #C8DC81 #81DC94
monochromatic
#8D31B1 #AB51CF #C281DC #D9B1E9 #F0E1F7

Accessibility & contrast

On white

2.81
#C281DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#C281DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C281DC
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C281DC#FFFFFF#000000##000000
##C281DC1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196DF
Deuteranopia (green-blind)
#829CD9
Tritanopia (blue-blind)
#C18DA4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c281dc;
/* rgb */ color: rgb(194, 129, 220);
/* oklch */ color: oklch(70.3% 0.145 315.8);
Tailwind
colors: {
  custom: {
    50: '#d6a7e7',
    500: '#c281dc',
    950: '#000000',
  },
}
SCSS
$custom: #c281dc;
$custom-light: #d6a7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c281dc",
  "rgb": {
    "r": 194,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 282.857,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70291,
    "c": 0.14539,
    "h": 315.8
  },
  "luminance": 0.32337
}

Semantic roles & 50–950 ramp

primary
#C281DC
secondary
#D7EACF
accent
#C42150
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C281DC

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

Preview Lab → · Contrast checker → · Palette generator →

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