#C281F9#C281F9

#C281F9 is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.7% C 0.178 H 307.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#C281F9
RGBrgb(194, 129, 249)
HSLhsl(273, 91%, 74%)
HSVhsv(273, 48%, 98%)
CMYKcmyk(22.1%, 48.2%, 0%, 2.4%)
CIE-LABlab(64.97, 46.92, -50.62)
CIE-LCHlch(64.97, 69.02, 312.83°)
OKLaboklab(71.74% 0.1086 -0.1416)
OKLCHoklch(71.74% 0.178 307.5)
XYZxyz(47.1939, 34.0099, 93.6825)
Luminance0.3401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C281F9 #B8F981
analogous
#8681F9 #C281F9 #F981F4
triadic
#C281F9 #F9C281 #81F9C2
tetradic
#C281F9 #F98681 #B8F981 #81F4F9
square
#C281F9 #F98681 #B8F981 #81F4F9
split-complementary
#C281F9 #F4F981 #81F986
monochromatic
#890CF3 #A647F6 #C281F9 #DEBBFC #F1E2FE

Accessibility & contrast

On white

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

On black

7.80
#C281F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C281F9
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C281F9#FFFFFF#000000##000000
##C281F91.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFD
Deuteranopia (green-blind)
#739EF6
Tritanopia (blue-blind)
#BA95B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c281f9;
/* rgb */ color: rgb(194, 129, 249);
/* oklch */ color: oklch(71.7% 0.178 307.5);
Tailwind
colors: {
  custom: {
    50: '#d7a7fc',
    500: '#c281f9',
    950: '#000000',
  },
}
SCSS
$custom: #c281f9;
$custom-light: #d7a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c281f9",
  "rgb": {
    "r": 194,
    "g": 129,
    "b": 249
  },
  "hsl": {
    "h": 272.5,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7174,
    "c": 0.17847,
    "h": 307.5
  },
  "luminance": 0.34009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C281F9

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

Preview Lab → · Contrast checker → · Palette generator →

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