#C281FD#C281FD

#C281FD is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.0% C 0.183 H 306.6°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#C281FD
RGBrgb(194, 129, 253)
HSLhsl(271, 97%, 75%)
HSVhsv(271, 49%, 99%)
CMYKcmyk(23.3%, 49%, 0%, 0.8%)
CIE-LABlab(65.17, 47.81, -52.50)
CIE-LCHlch(65.17, 71.01, 312.33°)
OKLaboklab(71.95% 0.1091 -0.1471)
OKLCHoklch(71.95% 0.183 306.6)
XYZxyz(47.8244, 34.2621, 97.0033)
Luminance0.3426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C281FD #BCFD81
analogous
#8481FD #C281FD #FD81FA
triadic
#C281FD #FDC281 #81FDC2
tetradic
#C281FD #FD8481 #BCFD81 #81FAFD
square
#C281FD #FD8481 #BCFD81 #81FAFD
split-complementary
#C281FD #FAFD81 #81FD84
monochromatic
#8809FB #A545FC #C281FD #DFBDFE #F0E1FF

Accessibility & contrast

On white

2.67
#C281FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#C281FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C281FD
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C281FD#FFFFFF#000000##000000
##C281FD1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#709FFA
Tritanopia (blue-blind)
#B996B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c281fd;
/* rgb */ color: rgb(194, 129, 253);
/* oklch */ color: oklch(72.0% 0.183 306.6);
Tailwind
colors: {
  custom: {
    50: '#d7a7fe',
    500: '#c281fd',
    950: '#000000',
  },
}
SCSS
$custom: #c281fd;
$custom-light: #d7a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c281fd",
  "rgb": {
    "r": 194,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 271.452,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71954,
    "c": 0.18309,
    "h": 306.6
  },
  "luminance": 0.34262
}

Semantic roles & 50–950 ramp

primary
#C281FD
secondary
#E5F7D4
accent
#E6006D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C281FD

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

Preview Lab → · Contrast checker → · Palette generator →

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