#C282F7#C282F7

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

Color values

HEX#C282F7
RGBrgb(194, 130, 247)
HSLhsl(273, 88%, 74%)
HSVhsv(273, 47%, 97%)
CMYKcmyk(21.5%, 47.4%, 0%, 3.1%)
CIE-LABlab(65.08, 45.94, -49.34)
CIE-LCHlch(65.08, 67.42, 312.95°)
OKLaboklab(71.79% 0.1071 -0.1379)
OKLCHoklch(71.79% 0.175 307.8)
XYZxyz(47.0160, 34.1505, 92.0925)
Luminance0.3415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C282F7 #B7F782
analogous
#8882F7 #C282F7 #F782F1
triadic
#C282F7 #F7C282 #82F7C2
tetradic
#C282F7 #F78882 #B7F782 #82F1F7
square
#C282F7 #F78882 #B7F782 #82F1F7
split-complementary
#C282F7 #F1F782 #82F788
monochromatic
#8A0FEF #A648F3 #C282F7 #DEBCFB #F1E2FD

Accessibility & contrast

On white

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

On black

7.83
#C282F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C282F7
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C282F7#FFFFFF#000000##000000
##C282F71.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#649BFB
Deuteranopia (green-blind)
#759FF4
Tritanopia (blue-blind)
#BA96B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c282f7;
/* rgb */ color: rgb(194, 130, 247);
/* oklch */ color: oklch(71.8% 0.175 307.8);
Tailwind
colors: {
  custom: {
    50: '#d7a8fa',
    500: '#c282f7',
    950: '#000000',
  },
}
SCSS
$custom: #c282f7;
$custom-light: #d7a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c282f7",
  "rgb": {
    "r": 194,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 272.821,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71791,
    "c": 0.17458,
    "h": 307.8
  },
  "luminance": 0.3415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C282F7

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

Preview Lab → · Contrast checker → · Palette generator →

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