#C282F2#C282F2

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

Color values

HEX#C282F2
RGBrgb(194, 130, 242)
HSLhsl(274, 81%, 73%)
HSVhsv(274, 46%, 95%)
CMYKcmyk(19.8%, 46.3%, 0%, 5.1%)
CIE-LABlab(64.84, 44.84, -46.98)
CIE-LCHlch(64.84, 64.94, 313.67°)
OKLaboklab(71.53% 0.1064 -0.131)
OKLCHoklch(71.53% 0.169 309.1)
XYZxyz(46.2547, 33.8460, 88.0834)
Luminance0.3384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C282F2 #B2F282
analogous
#8A82F2 #C282F2 #F282EA
triadic
#C282F2 #F2C282 #82F2C2
tetradic
#C282F2 #F28A82 #B2F282 #82EAF2
square
#C282F2 #F28A82 #B2F282 #82EAF2
split-complementary
#C282F2 #EAF282 #82F28A
monochromatic
#8B18E2 #A74BEC #C282F2 #DDB9F8 #F1E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C282F2#FFFFFF#000000##000000
##C282F21.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)
#679AF6
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#BC94AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c282f2;
/* rgb */ color: rgb(194, 130, 242);
/* oklch */ color: oklch(71.5% 0.169 309.1);
Tailwind
colors: {
  custom: {
    50: '#d6a8f7',
    500: '#c282f2',
    950: '#000000',
  },
}
SCSS
$custom: #c282f2;
$custom-light: #d6a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c282f2",
  "rgb": {
    "r": 194,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 274.286,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71532,
    "c": 0.16879,
    "h": 309.1
  },
  "luminance": 0.33845
}

Semantic roles & 50–950 ramp

primary
#C282F2
secondary
#E3F4D7
accent
#DE0863
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C282F2

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

Preview Lab → · Contrast checker → · Palette generator →

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