#C481F2#C481F2

#C481F2 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.6% C 0.171 H 310.1°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#C481F2
RGBrgb(196, 129, 242)
HSLhsl(276, 81%, 73%)
HSVhsv(276, 47%, 95%)
CMYKcmyk(19%, 46.7%, 0%, 5.1%)
CIE-LABlab(64.84, 45.92, -46.96)
CIE-LCHlch(64.84, 65.68, 314.36°)
OKLaboklab(71.58% 0.1102 -0.1309)
OKLCHoklch(71.58% 0.171 310.1)
XYZxyz(46.6393, 33.8478, 88.0635)
Luminance0.3385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C481F2 #AFF281
analogous
#8B81F2 #C481F2 #F281E8
triadic
#C481F2 #F2C481 #81F2C4
tetradic
#C481F2 #F28B81 #AFF281 #81E8F2
square
#C481F2 #F28B81 #AFF281 #81E8F2
split-complementary
#C481F2 #E8F281 #81F28B
monochromatic
#8F17E1 #AA4AEC #C481F2 #DEB8F8 #F2E3FC

Accessibility & contrast

On white

2.70
#C481F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#C481F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C481F2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C481F2#FFFFFF#000000##000000
##C481F21.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#789FEF
Tritanopia (blue-blind)
#BE93AE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c481f2;
/* rgb */ color: rgb(196, 129, 242);
/* oklch */ color: oklch(71.6% 0.171 310.1);
Tailwind
colors: {
  custom: {
    50: '#d8a7f7',
    500: '#c481f2',
    950: '#000000',
  },
}
SCSS
$custom: #c481f2;
$custom-light: #d8a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c481f2",
  "rgb": {
    "r": 196,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 275.575,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71581,
    "c": 0.17109,
    "h": 310.1
  },
  "luminance": 0.33847
}

Semantic roles & 50–950 ramp

primary
#C481F2
secondary
#E3F4D7
accent
#DE085F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C481F2

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

Preview Lab → · Contrast checker → · Palette generator →

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