#C281FE#C281FE

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

Color values

HEX#C281FE
RGBrgb(194, 129, 254)
HSLhsl(271, 98%, 75%)
HSVhsv(271, 49%, 100%)
CMYKcmyk(23.6%, 49.2%, 0%, 0.4%)
CIE-LABlab(65.22, 48.04, -52.96)
CIE-LCHlch(65.22, 71.51, 312.21°)
OKLaboklab(72.01% 0.1092 -0.1484)
OKLCHoklch(72.01% 0.184 306.3)
XYZxyz(47.9841, 34.3260, 97.8444)
Luminance0.3433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C281FE #BDFE81
analogous
#8381FE #C281FE #FE81FB
triadic
#C281FE #FEC281 #81FEC2
tetradic
#C281FE #FE8381 #BDFE81 #81FBFE
square
#C281FE #FE8381 #BDFE81 #81FBFE
split-complementary
#C281FE #FBFE81 #81FE83
monochromatic
#8708FD #A544FE #C281FE #DFBEFE #F0E1FF

Accessibility & contrast

On white

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

On black

7.87
#C281FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C281FE
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C281FE#FFFFFF#000000##000000
##C281FE1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#709FFB
Tritanopia (blue-blind)
#B997B4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c281fe;
/* rgb */ color: rgb(194, 129, 254);
/* oklch */ color: oklch(72.0% 0.184 306.3);
Tailwind
colors: {
  custom: {
    50: '#d7a7ff',
    500: '#c281fe',
    950: '#000000',
  },
}
SCSS
$custom: #c281fe;
$custom-light: #d7a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c281fe",
  "rgb": {
    "r": 194,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 271.2,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72007,
    "c": 0.18424,
    "h": 306.3
  },
  "luminance": 0.34326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C281FE

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

Preview Lab → · Contrast checker → · Palette generator →

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