#C082F5#C082F5

#C082F5 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.5% C 0.172 H 307.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#C082F5
RGBrgb(192, 130, 245)
HSLhsl(272, 85%, 74%)
HSVhsv(272, 47%, 96%)
CMYKcmyk(21.6%, 46.9%, 0%, 3.9%)
CIE-LABlab(64.78, 44.96, -48.74)
CIE-LCHlch(64.78, 66.31, 312.69°)
OKLaboklab(71.48% 0.1045 -0.1362)
OKLCHoklch(71.48% 0.172 307.5)
XYZxyz(46.1990, 33.7648, 90.4520)
Luminance0.3376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C082F5 #B7F582
analogous
#8682F5 #C082F5 #F582F0
triadic
#C082F5 #F5C082 #82F5C0
tetradic
#C082F5 #F58682 #B7F582 #82F0F5
square
#C082F5 #F58682 #B7F582 #82F0F5
split-complementary
#C082F5 #F0F582 #82F586
monochromatic
#8713EA #A349F0 #C082F5 #DDBBFA #F1E3FD

Accessibility & contrast

On white

2.71
#C082F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#C082F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C082F5
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C082F5#FFFFFF#000000##000000
##C082F51.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#649BF9
Deuteranopia (green-blind)
#759EF2
Tritanopia (blue-blind)
#B895B0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c082f5;
/* rgb */ color: rgb(192, 130, 245);
/* oklch */ color: oklch(71.5% 0.172 307.5);
Tailwind
colors: {
  custom: {
    50: '#d5a8f9',
    500: '#c082f5',
    950: '#000000',
  },
}
SCSS
$custom: #c082f5;
$custom-light: #d5a8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c082f5",
  "rgb": {
    "r": 192,
    "g": 130,
    "b": 245
  },
  "hsl": {
    "h": 272.348,
    "s": 85.185,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71483,
    "c": 0.17163,
    "h": 307.5
  },
  "luminance": 0.33764
}

Semantic roles & 50–950 ramp

primary
#C082F5
secondary
#E4F5D6
accent
#E2046A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #C082F5

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

Preview Lab → · Contrast checker → · Palette generator →

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