#C481F9#C481F9

#C481F9 is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.9% C 0.179 H 308.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#C481F9
RGBrgb(196, 129, 249)
HSLhsl(274, 91%, 74%)
HSVhsv(274, 48%, 98%)
CMYKcmyk(21.3%, 48.2%, 0%, 2.4%)
CIE-LABlab(65.18, 47.45, -50.27)
CIE-LCHlch(65.18, 69.13, 313.35°)
OKLaboklab(71.95% 0.111 -0.1405)
OKLCHoklch(71.95% 0.179 308.3)
XYZxyz(47.7108, 34.2764, 93.7068)
Luminance0.3428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C481F9 #B6F981
analogous
#8881F9 #C481F9 #F981F2
triadic
#C481F9 #F9C481 #81F9C4
tetradic
#C481F9 #F98881 #B6F981 #81F2F9
square
#C481F9 #F98881 #B6F981 #81F2F9
split-complementary
#C481F9 #F2F981 #81F988
monochromatic
#8D0CF3 #A947F6 #C481F9 #DFBBFC #F1E2FE

Accessibility & contrast

On white

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

On black

7.86
#C481F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C481F9
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C481F9#FFFFFF#000000##000000
##C481F91.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFD
Deuteranopia (green-blind)
#749FF6
Tritanopia (blue-blind)
#BD95B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c481f9;
/* rgb */ color: rgb(196, 129, 249);
/* oklch */ color: oklch(71.9% 0.179 308.3);
Tailwind
colors: {
  custom: {
    50: '#d8a7fc',
    500: '#c481f9',
    950: '#000000',
  },
}
SCSS
$custom: #c481f9;
$custom-light: #d8a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c481f9",
  "rgb": {
    "r": 196,
    "g": 129,
    "b": 249
  },
  "hsl": {
    "h": 273.5,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71945,
    "c": 0.17909,
    "h": 308.3
  },
  "luminance": 0.34276
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C481F9

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

Preview Lab → · Contrast checker → · Palette generator →

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