#C282F9#C282F9

#C282F9 is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.9% C 0.177 H 307.3°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#C282F9
RGBrgb(194, 130, 249)
HSLhsl(272, 91%, 74%)
HSVhsv(272, 48%, 98%)
CMYKcmyk(22.1%, 47.8%, 0%, 2.4%)
CIE-LABlab(65.18, 46.39, -50.29)
CIE-LCHlch(65.18, 68.41, 312.69°)
OKLaboklab(71.9% 0.1073 -0.1406)
OKLCHoklch(71.9% 0.177 307.3)
XYZxyz(47.3262, 34.2746, 93.7267)
Luminance0.3427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C282F9 #B9F982
analogous
#8782F9 #C282F9 #F982F5
triadic
#C282F9 #F9C282 #82F9C2
tetradic
#C282F9 #F98782 #B9F982 #82F5F9
square
#C282F9 #F98782 #B9F982 #82F5F9
split-complementary
#C282F9 #F5F982 #82F987
monochromatic
#890DF3 #A648F6 #C282F9 #DEBCFC #F1E2FE

Accessibility & contrast

On white

2.67
#C282F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#C282F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C282F9
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C282F9#FFFFFF#000000##000000
##C282F91.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFD
Deuteranopia (green-blind)
#749FF6
Tritanopia (blue-blind)
#BA96B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c282f9;
/* rgb */ color: rgb(194, 130, 249);
/* oklch */ color: oklch(71.9% 0.177 307.3);
Tailwind
colors: {
  custom: {
    50: '#d7a8fc',
    500: '#c282f9',
    950: '#000000',
  },
}
SCSS
$custom: #c282f9;
$custom-light: #d7a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c282f9",
  "rgb": {
    "r": 194,
    "g": 130,
    "b": 249
  },
  "hsl": {
    "h": 272.269,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71896,
    "c": 0.1769,
    "h": 307.3
  },
  "luminance": 0.34274
}

Semantic roles & 50–950 ramp

primary
#C282F9
secondary
#E4F6D5
accent
#E6006A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C282F9

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

Preview Lab → · Contrast checker → · Palette generator →

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