#C281FC#C281FC

#C281FC is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.9% C 0.182 H 306.8°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#C281FC
RGBrgb(194, 129, 252)
HSLhsl(272, 95%, 75%)
HSVhsv(272, 49%, 99%)
CMYKcmyk(23%, 48.8%, 0%, 1.2%)
CIE-LABlab(65.12, 47.59, -52.03)
CIE-LCHlch(65.12, 70.51, 312.45°)
OKLaboklab(71.9% 0.109 -0.1457)
OKLCHoklch(71.9% 0.182 306.8)
XYZxyz(47.6655, 34.1986, 96.1665)
Luminance0.3420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C281FC #BBFC81
analogous
#8481FC #C281FC #FC81F9
triadic
#C281FC #FCC281 #81FCC2
tetradic
#C281FC #FC8481 #BBFC81 #81F9FC
square
#C281FC #FC8481 #BBFC81 #81F9FC
split-complementary
#C281FC #F9FC81 #81FC84
monochromatic
#8809F9 #A545FB #C281FC #DFBDFD #F1E1FE

Accessibility & contrast

On white

2.68
#C281FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#C281FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C281FC
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C281FC#FFFFFF#000000##000000
##C281FC1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#719FF9
Tritanopia (blue-blind)
#B996B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c281fc;
/* rgb */ color: rgb(194, 129, 252);
/* oklch */ color: oklch(71.9% 0.182 306.8);
Tailwind
colors: {
  custom: {
    50: '#d7a7fe',
    500: '#c281fc',
    950: '#000000',
  },
}
SCSS
$custom: #c281fc;
$custom-light: #d7a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c281fc",
  "rgb": {
    "r": 194,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 271.707,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.719,
    "c": 0.18194,
    "h": 306.8
  },
  "luminance": 0.34198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C281FC

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

Preview Lab → · Contrast checker → · Palette generator →

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