#C281FF#C281FF

#C281FF is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.1% C 0.185 H 306.1°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#C281FF
RGBrgb(194, 129, 255)
HSLhsl(271, 100%, 75%)
HSVhsv(271, 49%, 100%)
CMYKcmyk(23.9%, 49.4%, 0%, 0%)
CIE-LABlab(65.27, 48.27, -53.43)
CIE-LCHlch(65.27, 72.00, 312.09°)
OKLaboklab(72.06% 0.1093 -0.1498)
OKLCHoklch(72.06% 0.185 306.1)
XYZxyz(48.1447, 34.3902, 98.6900)
Luminance0.3439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C281FF #BEFF81
analogous
#8381FF #C281FF #FF81FD
triadic
#C281FF #FFC281 #81FFC2
tetradic
#C281FF #FF8381 #BEFF81 #81FDFF
square
#C281FF #FF8381 #BEFF81 #81FDFF
split-complementary
#C281FF #FDFF81 #81FF83
monochromatic
#8707FF #A444FF #C281FF #E0BEFF #F0E0FF

Accessibility & contrast

On white

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

On black

7.88
#C281FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C281FF
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C281FF#FFFFFF#000000##000000
##C281FF1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#6F9FFC
Tritanopia (blue-blind)
#B897B4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c281ff;
/* rgb */ color: rgb(194, 129, 255);
/* oklch */ color: oklch(72.1% 0.185 306.1);
Tailwind
colors: {
  custom: {
    50: '#d7a7ff',
    500: '#c281ff',
    950: '#000000',
  },
}
SCSS
$custom: #c281ff;
$custom-light: #d7a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c281ff",
  "rgb": {
    "r": 194,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 270.952,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72061,
    "c": 0.1854,
    "h": 306.1
  },
  "luminance": 0.3439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C281FF

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

Preview Lab → · Contrast checker → · Palette generator →

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