#C282FD#C282FD

#C282FD is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.1% C 0.182 H 306.4°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#C282FD
RGBrgb(194, 130, 253)
HSLhsl(271, 97%, 75%)
HSVhsv(271, 49%, 99%)
CMYKcmyk(23.3%, 48.6%, 0%, 0.8%)
CIE-LABlab(65.38, 47.28, -52.17)
CIE-LCHlch(65.38, 70.41, 312.19°)
OKLaboklab(72.11% 0.1078 -0.1461)
OKLCHoklch(72.11% 0.182 306.4)
XYZxyz(47.9568, 34.5269, 97.0474)
Luminance0.3453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C282FD #BDFD82
analogous
#8582FD #C282FD #FD82FA
triadic
#C282FD #FDC282 #82FDC2
tetradic
#C282FD #FD8582 #BDFD82 #82FAFD
square
#C282FD #FD8582 #BDFD82 #82FAFD
split-complementary
#C282FD #FAFD82 #82FD85
monochromatic
#870AFB #A546FC #C282FD #DFBEFE #F0E1FF

Accessibility & contrast

On white

2.66
#C282FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#C282FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C282FD
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C282FD#FFFFFF#000000##000000
##C282FD1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#719FFA
Tritanopia (blue-blind)
#B997B4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c282fd;
/* rgb */ color: rgb(194, 130, 253);
/* oklch */ color: oklch(72.1% 0.182 306.4);
Tailwind
colors: {
  custom: {
    50: '#d7a8fe',
    500: '#c282fd',
    950: '#000000',
  },
}
SCSS
$custom: #c282fd;
$custom-light: #d7a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c282fd",
  "rgb": {
    "r": 194,
    "g": 130,
    "b": 253
  },
  "hsl": {
    "h": 271.22,
    "s": 96.85,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72109,
    "c": 0.18154,
    "h": 306.4
  },
  "luminance": 0.34526
}

Semantic roles & 50–950 ramp

primary
#C282FD
secondary
#E5F7D4
accent
#E6006E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C282FD

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

Preview Lab → · Contrast checker → · Palette generator →

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