#C282F8#C282F8

#C282F8 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.8% C 0.176 H 307.6°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#C282F8
RGBrgb(194, 130, 248)
HSLhsl(273, 89%, 74%)
HSVhsv(273, 48%, 97%)
CMYKcmyk(21.8%, 47.6%, 0%, 2.7%)
CIE-LABlab(65.13, 46.16, -49.82)
CIE-LCHlch(65.13, 67.92, 312.82°)
OKLaboklab(71.84% 0.1072 -0.1393)
OKLCHoklch(71.84% 0.176 307.6)
XYZxyz(47.1707, 34.2124, 92.9074)
Luminance0.3421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C282F8 #B8F882
analogous
#8782F8 #C282F8 #F882F3
triadic
#C282F8 #F8C282 #82F8C2
tetradic
#C282F8 #F88782 #B8F882 #82F3F8
square
#C282F8 #F88782 #B8F882 #82F3F8
split-complementary
#C282F8 #F3F882 #82F887
monochromatic
#890EF2 #A648F5 #C282F8 #DEBCFB #F1E2FD

Accessibility & contrast

On white

2.68
#C282F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#C282F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C282F8
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C282F8#FFFFFF#000000##000000
##C282F81.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFC
Deuteranopia (green-blind)
#759FF5
Tritanopia (blue-blind)
#BA96B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c282f8;
/* rgb */ color: rgb(194, 130, 248);
/* oklch */ color: oklch(71.8% 0.176 307.6);
Tailwind
colors: {
  custom: {
    50: '#d7a8fb',
    500: '#c282f8',
    950: '#000000',
  },
}
SCSS
$custom: #c282f8;
$custom-light: #d7a8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c282f8",
  "rgb": {
    "r": 194,
    "g": 130,
    "b": 248
  },
  "hsl": {
    "h": 272.542,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71843,
    "c": 0.17574,
    "h": 307.6
  },
  "luminance": 0.34212
}

Semantic roles & 50–950 ramp

primary
#C282F8
secondary
#E4F5D6
accent
#E60069
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C282F8

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

Preview Lab → · Contrast checker → · Palette generator →

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