#C282FA#C282FA

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

Color values

HEX#C282FA
RGBrgb(194, 130, 250)
HSLhsl(272, 92%, 75%)
HSVhsv(272, 48%, 98%)
CMYKcmyk(22.4%, 48%, 0%, 2%)
CIE-LABlab(65.23, 46.61, -50.76)
CIE-LCHlch(65.23, 68.91, 312.56°)
OKLaboklab(71.95% 0.1074 -0.142)
OKLCHoklch(71.95% 0.178 307.1)
XYZxyz(47.4826, 34.3372, 94.5503)
Luminance0.3434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C282FA #BAFA82
analogous
#8682FA #C282FA #FA82F6
triadic
#C282FA #FAC282 #82FAC2
tetradic
#C282FA #FA8682 #BAFA82 #82F6FA
square
#C282FA #FA8682 #BAFA82 #82F6FA
split-complementary
#C282FA #F6FA82 #82FA86
monochromatic
#890CF5 #A547F8 #C282FA #DFBDFC #F1E2FE

Accessibility & contrast

On white

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

On black

7.87
#C282FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C282FA
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C282FA#FFFFFF#000000##000000
##C282FA1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#BA96B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c282fa;
/* rgb */ color: rgb(194, 130, 250);
/* oklch */ color: oklch(71.9% 0.178 307.1);
Tailwind
colors: {
  custom: {
    50: '#d7a8fc',
    500: '#c282fa',
    950: '#000000',
  },
}
SCSS
$custom: #c282fa;
$custom-light: #d7a8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c282fa",
  "rgb": {
    "r": 194,
    "g": 130,
    "b": 250
  },
  "hsl": {
    "h": 272,
    "s": 92.308,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71949,
    "c": 0.17805,
    "h": 307.1
  },
  "luminance": 0.34337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C282FA

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

Preview Lab → · Contrast checker → · Palette generator →

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