#C281FB#C281FB

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

Color values

HEX#C281FB
RGBrgb(194, 129, 251)
HSLhsl(272, 94%, 75%)
HSVhsv(272, 49%, 98%)
CMYKcmyk(22.7%, 48.6%, 0%, 1.6%)
CIE-LABlab(65.07, 47.37, -51.56)
CIE-LCHlch(65.07, 70.01, 312.57°)
OKLaboklab(71.85% 0.1089 -0.1443)
OKLCHoklch(71.85% 0.181 307)
XYZxyz(47.5075, 34.1354, 95.3341)
Luminance0.3413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C281FB #BAFB81
analogous
#8581FB #C281FB #FB81F7
triadic
#C281FB #FBC281 #81FBC2
tetradic
#C281FB #FB8581 #BAFB81 #81F7FB
square
#C281FB #FB8581 #BAFB81 #81F7FB
split-complementary
#C281FB #F7FB81 #81FB85
monochromatic
#890AF7 #A546F9 #C281FB #DFBCFD #F1E1FE

Accessibility & contrast

On white

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

On black

7.83
#C281FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C281FB
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C281FB#FFFFFF#000000##000000
##C281FB1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFF
Deuteranopia (green-blind)
#729FF8
Tritanopia (blue-blind)
#B996B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c281fb;
/* rgb */ color: rgb(194, 129, 251);
/* oklch */ color: oklch(71.8% 0.181 307.0);
Tailwind
colors: {
  custom: {
    50: '#d7a7fd',
    500: '#c281fb',
    950: '#000000',
  },
}
SCSS
$custom: #c281fb;
$custom-light: #d7a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c281fb",
  "rgb": {
    "r": 194,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 271.967,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71846,
    "c": 0.18077,
    "h": 307
  },
  "luminance": 0.34135
}

Semantic roles & 50–950 ramp

primary
#C281FB
secondary
#E4F6D5
accent
#E6006B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C281FB

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

Preview Lab → · Contrast checker → · Palette generator →

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