#C481F7#C481F7

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

Color values

HEX#C481F7
RGBrgb(196, 129, 247)
HSLhsl(274, 88%, 74%)
HSVhsv(274, 48%, 97%)
CMYKcmyk(20.6%, 47.8%, 0%, 3.1%)
CIE-LABlab(65.08, 47.01, -49.33)
CIE-LCHlch(65.08, 68.14, 313.62°)
OKLaboklab(71.84% 0.1108 -0.1378)
OKLCHoklch(71.84% 0.177 308.8)
XYZxyz(47.4005, 34.1523, 92.0726)
Luminance0.3415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C481F7 #B4F781
analogous
#8981F7 #C481F7 #F781EF
triadic
#C481F7 #F7C481 #81F7C4
tetradic
#C481F7 #F78981 #B4F781 #81EFF7
square
#C481F7 #F78981 #B4F781 #81EFF7
split-complementary
#C481F7 #EFF781 #81F789
monochromatic
#8E0FEE #A947F3 #C481F7 #DFBBFB #F2E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C481F7#FFFFFF#000000##000000
##C481F71.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)
#639BFB
Deuteranopia (green-blind)
#769FF4
Tritanopia (blue-blind)
#BD95B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c481f7;
/* rgb */ color: rgb(196, 129, 247);
/* oklch */ color: oklch(71.8% 0.177 308.8);
Tailwind
colors: {
  custom: {
    50: '#d8a7fa',
    500: '#c481f7',
    950: '#000000',
  },
}
SCSS
$custom: #c481f7;
$custom-light: #d8a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c481f7",
  "rgb": {
    "r": 196,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 274.068,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7184,
    "c": 0.1768,
    "h": 308.8
  },
  "luminance": 0.34152
}

Semantic roles & 50–950 ramp

primary
#C481F7
secondary
#E3F5D6
accent
#E50163
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C481F7

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

Preview Lab → · Contrast checker → · Palette generator →

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