#C281FA#C281FA

#C281FA is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.8% C 0.180 H 307.3°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#C281FA
RGBrgb(194, 129, 250)
HSLhsl(272, 92%, 74%)
HSVhsv(272, 48%, 98%)
CMYKcmyk(22.4%, 48.4%, 0%, 2%)
CIE-LABlab(65.02, 47.14, -51.09)
CIE-LCHlch(65.02, 69.52, 312.70°)
OKLaboklab(71.79% 0.1088 -0.143)
OKLCHoklch(71.79% 0.18 307.3)
XYZxyz(47.3503, 34.0725, 94.5061)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C281FA #B9FA81
analogous
#8681FA #C281FA #FA81F6
triadic
#C281FA #FAC281 #81FAC2
tetradic
#C281FA #FA8681 #B9FA81 #81F6FA
square
#C281FA #FA8681 #B9FA81 #81F6FA
split-complementary
#C281FA #F6FA81 #81FA86
monochromatic
#890BF5 #A646F8 #C281FA #DEBCFC #F1E2FE

Accessibility & contrast

On white

2.69
#C281FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#C281FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C281FA
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C281FA#FFFFFF#000000##000000
##C281FA1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFE
Deuteranopia (green-blind)
#729EF7
Tritanopia (blue-blind)
#BA96B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c281fa;
/* rgb */ color: rgb(194, 129, 250);
/* oklch */ color: oklch(71.8% 0.180 307.3);
Tailwind
colors: {
  custom: {
    50: '#d7a7fc',
    500: '#c281fa',
    950: '#000000',
  },
}
SCSS
$custom: #c281fa;
$custom-light: #d7a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c281fa",
  "rgb": {
    "r": 194,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 272.231,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71793,
    "c": 0.17962,
    "h": 307.3
  },
  "luminance": 0.34072
}

Semantic roles & 50–950 ramp

primary
#C281FA
secondary
#E4F6D5
accent
#E6006A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C281FA

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

Preview Lab → · Contrast checker → · Palette generator →

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