#C284F6#C284F6

#C284F6 is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.1% C 0.170 H 307.8°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#C284F6
RGBrgb(194, 132, 246)
HSLhsl(273, 86%, 74%)
HSVhsv(273, 46%, 96%)
CMYKcmyk(21.1%, 46.3%, 0%, 3.5%)
CIE-LABlab(65.46, 44.65, -48.20)
CIE-LCHlch(65.46, 65.70, 312.81°)
OKLaboklab(72.06% 0.1043 -0.1346)
OKLCHoklch(72.06% 0.17 307.8)
XYZxyz(47.1307, 34.6262, 91.3716)
Luminance0.3463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C284F6 #B8F684
analogous
#8984F6 #C284F6 #F684F1
triadic
#C284F6 #F6C284 #84F6C2
tetradic
#C284F6 #F68984 #B8F684 #84F1F6
square
#C284F6 #F68984 #B8F684 #84F1F6
split-complementary
#C284F6 #F1F684 #84F689
monochromatic
#8912EE #A64BF2 #C284F6 #DEBDFA #F1E2FD

Accessibility & contrast

On white

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

On black

7.93
#C284F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C284F6
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C284F6#FFFFFF#000000##000000
##C284F61.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#679CFA
Deuteranopia (green-blind)
#78A0F3
Tritanopia (blue-blind)
#BB97B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c284f6;
/* rgb */ color: rgb(194, 132, 246);
/* oklch */ color: oklch(72.1% 0.170 307.8);
Tailwind
colors: {
  custom: {
    50: '#d6a9f9',
    500: '#c284f6',
    950: '#000000',
  },
}
SCSS
$custom: #c284f6;
$custom-light: #d6a9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c284f6",
  "rgb": {
    "r": 194,
    "g": 132,
    "b": 246
  },
  "hsl": {
    "h": 272.632,
    "s": 86.364,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72055,
    "c": 0.17023,
    "h": 307.8
  },
  "luminance": 0.34626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C284F6

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

Preview Lab → · Contrast checker → · Palette generator →

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