#C282FB#C282FB

#C282FB is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.0% C 0.179 H 306.9°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#C282FB
RGBrgb(194, 130, 251)
HSLhsl(272, 94%, 75%)
HSVhsv(272, 48%, 98%)
CMYKcmyk(22.7%, 48.2%, 0%, 1.6%)
CIE-LABlab(65.28, 46.83, -51.23)
CIE-LCHlch(65.28, 69.41, 312.43°)
OKLaboklab(72% 0.1075 -0.1434)
OKLCHoklch(72% 0.179 306.9)
XYZxyz(47.6398, 34.4001, 95.3783)
Luminance0.3440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C282FB #BBFB82
analogous
#8682FB #C282FB #FB82F7
triadic
#C282FB #FBC282 #82FBC2
tetradic
#C282FB #FB8682 #BBFB82 #82F7FB
square
#C282FB #FB8682 #BBFB82 #82F7FB
split-complementary
#C282FB #F7FB82 #82FB86
monochromatic
#880BF7 #A547F9 #C282FB #DFBDFD #F1E1FE

Accessibility & contrast

On white

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

On black

7.88
#C282FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C282FB
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C282FB#FFFFFF#000000##000000
##C282FB1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#739FF8
Tritanopia (blue-blind)
#B997B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c282fb;
/* rgb */ color: rgb(194, 130, 251);
/* oklch */ color: oklch(72.0% 0.179 306.9);
Tailwind
colors: {
  custom: {
    50: '#d7a8fd',
    500: '#c282fb',
    950: '#000000',
  },
}
SCSS
$custom: #c282fb;
$custom-light: #d7a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c282fb",
  "rgb": {
    "r": 194,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 271.736,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72002,
    "c": 0.17921,
    "h": 306.9
  },
  "luminance": 0.344
}

Semantic roles & 50–950 ramp

primary
#C282FB
secondary
#E5F6D5
accent
#E6006C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C282FB

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

Preview Lab → · Contrast checker → · Palette generator →

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