#C081F7#C081F7

#C081F7 is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.4% C 0.176 H 307.2°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#C081F7
RGBrgb(192, 129, 247)
HSLhsl(272, 88%, 74%)
HSVhsv(272, 48%, 97%)
CMYKcmyk(22.3%, 47.8%, 0%, 3.1%)
CIE-LABlab(64.66, 45.94, -50.02)
CIE-LCHlch(64.66, 67.92, 312.57°)
OKLaboklab(71.43% 0.106 -0.1399)
OKLCHoklch(71.43% 0.176 307.2)
XYZxyz(46.3736, 33.6228, 92.0245)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C081F7 #B8F781
analogous
#8581F7 #C081F7 #F781F3
triadic
#C081F7 #F7C081 #81F7C0
tetradic
#C081F7 #F78581 #B8F781 #81F3F7
square
#C081F7 #F78581 #B8F781 #81F3F7
split-complementary
#C081F7 #F3F781 #81F785
monochromatic
#860FEE #A347F3 #C081F7 #DDBBFB #F1E2FD

Accessibility & contrast

On white

2.72
#C081F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#C081F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C081F7
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C081F7#FFFFFF#000000##000000
##C081F71.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFB
Deuteranopia (green-blind)
#739DF4
Tritanopia (blue-blind)
#B895B1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c081f7;
/* rgb */ color: rgb(192, 129, 247);
/* oklch */ color: oklch(71.4% 0.176 307.2);
Tailwind
colors: {
  custom: {
    50: '#d5a7fa',
    500: '#c081f7',
    950: '#000000',
  },
}
SCSS
$custom: #c081f7;
$custom-light: #d5a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c081f7",
  "rgb": {
    "r": 192,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 272.034,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71431,
    "c": 0.17554,
    "h": 307.2
  },
  "luminance": 0.33622
}

Semantic roles & 50–950 ramp

primary
#C081F7
secondary
#E4F5D6
accent
#E5016B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #C081F7

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

Preview Lab → · Contrast checker → · Palette generator →

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