#C284F5#C284F5

#C284F5 is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.0% C 0.169 H 308.0°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#C284F5
RGBrgb(194, 132, 245)
HSLhsl(273, 85%, 74%)
HSVhsv(273, 46%, 96%)
CMYKcmyk(20.8%, 46.1%, 0%, 3.9%)
CIE-LABlab(65.41, 44.43, -47.73)
CIE-LCHlch(65.41, 65.21, 312.95°)
OKLaboklab(72% 0.1041 -0.1332)
OKLCHoklch(72% 0.169 308)
XYZxyz(46.9776, 34.5650, 90.5654)
Luminance0.3456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C284F5 #B7F584
analogous
#8A84F5 #C284F5 #F584F0
triadic
#C284F5 #F5C284 #84F5C2
tetradic
#C284F5 #F58A84 #B7F584 #84F0F5
square
#C284F5 #F58A84 #B7F584 #84F0F5
split-complementary
#C284F5 #F0F584 #84F58A
monochromatic
#8A13EB #A64BF0 #C284F5 #DEBDFA #F1E3FD

Accessibility & contrast

On white

2.65
#C284F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C284F5#FFFFFF#000000##000000
##C284F51.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#689CF9
Deuteranopia (green-blind)
#78A0F2
Tritanopia (blue-blind)
#BB97B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c284f5;
/* rgb */ color: rgb(194, 132, 245);
/* oklch */ color: oklch(72.0% 0.169 308.0);
Tailwind
colors: {
  custom: {
    50: '#d6a9f9',
    500: '#c284f5',
    950: '#000000',
  },
}
SCSS
$custom: #c284f5;
$custom-light: #d6a9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c284f5",
  "rgb": {
    "r": 194,
    "g": 132,
    "b": 245
  },
  "hsl": {
    "h": 272.92,
    "s": 84.962,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72003,
    "c": 0.16907,
    "h": 308
  },
  "luminance": 0.34564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C284F5

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

Preview Lab → · Contrast checker → · Palette generator →

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