#C281DF#C281DF

#C281DF is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.4% C 0.149 H 314.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#C281DF
RGBrgb(194, 129, 223)
HSLhsl(281, 59%, 69%)
HSVhsv(281, 42%, 87%)
CMYKcmyk(13%, 42.2%, 0%, 12.5%)
CIE-LABlab(63.75, 41.31, -38.16)
CIE-LCHlch(63.75, 56.24, 317.26°)
OKLaboklab(70.43% 0.1048 -0.1055)
OKLCHoklch(70.43% 0.149 314.8)
XYZxyz(43.4156, 32.4986, 73.7835)
Luminance0.3250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C281DF #9EDF81
analogous
#9381DF #C281DF #DF81CD
triadic
#C281DF #DFC281 #81DFC2
tetradic
#C281DF #DF9381 #9EDF81 #81CDDF
square
#C281DF #DF9381 #9EDF81 #81CDDF
split-complementary
#C281DF #CDDF81 #81DF93
monochromatic
#8D2FB7 #AA50D3 #C281DF #DAB2EB #F1E3F8

Accessibility & contrast

On white

2.80
#C281DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#C281DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C281DF
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C281DF#FFFFFF#000000##000000
##C281DF1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7097E2
Deuteranopia (green-blind)
#819CDC
Tritanopia (blue-blind)
#C08EA5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c281df;
/* rgb */ color: rgb(194, 129, 223);
/* oklch */ color: oklch(70.4% 0.149 314.8);
Tailwind
colors: {
  custom: {
    50: '#d6a7e9',
    500: '#c281df',
    950: '#000000',
  },
}
SCSS
$custom: #c281df;
$custom-light: #d6a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c281df",
  "rgb": {
    "r": 194,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 281.489,
    "s": 59.494,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70433,
    "c": 0.14875,
    "h": 314.8
  },
  "luminance": 0.32498
}

Semantic roles & 50–950 ramp

primary
#C281DF
secondary
#D9ECD0
accent
#C71E52
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C281DF

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

Preview Lab → · Contrast checker → · Palette generator →

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