#C282F0#C282F0

#C282F0 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.4% C 0.166 H 309.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#C282F0
RGBrgb(194, 130, 240)
HSLhsl(275, 79%, 73%)
HSVhsv(275, 46%, 94%)
CMYKcmyk(19.2%, 45.8%, 0%, 5.9%)
CIE-LABlab(64.75, 44.40, -46.02)
CIE-LCHlch(64.75, 63.95, 313.97°)
OKLaboklab(71.43% 0.1062 -0.1282)
OKLCHoklch(71.43% 0.166 309.6)
XYZxyz(45.9560, 33.7266, 86.5101)
Luminance0.3373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C282F0 #B0F082
analogous
#8B82F0 #C282F0 #F082E7
triadic
#C282F0 #F0C282 #82F0C2
tetradic
#C282F0 #F08B82 #B0F082 #82E7F0
square
#C282F0 #F08B82 #B0F082 #82E7F0
split-complementary
#C282F0 #E7F082 #82F08B
monochromatic
#8C1BDD #A74BE9 #C282F0 #DDB9F7 #F2E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C282F0#FFFFFF#000000##000000
##C282F01.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)
#689AF4
Deuteranopia (green-blind)
#799EED
Tritanopia (blue-blind)
#BC94AE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c282f0;
/* rgb */ color: rgb(194, 130, 240);
/* oklch */ color: oklch(71.4% 0.166 309.6);
Tailwind
colors: {
  custom: {
    50: '#d6a8f5',
    500: '#c282f0',
    950: '#000000',
  },
}
SCSS
$custom: #c282f0;
$custom-light: #d6a8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c282f0",
  "rgb": {
    "r": 194,
    "g": 130,
    "b": 240
  },
  "hsl": {
    "h": 274.909,
    "s": 78.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7143,
    "c": 0.16648,
    "h": 309.6
  },
  "luminance": 0.33726
}

Semantic roles & 50–950 ramp

primary
#C282F0
secondary
#E3F4D7
accent
#DB0B62
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #C282F0

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

Preview Lab → · Contrast checker → · Palette generator →

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