#C284FA#C284FA

#C284FA is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.3% C 0.175 H 306.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#C284FA
RGBrgb(194, 132, 250)
HSLhsl(272, 92%, 75%)
HSVhsv(272, 47%, 98%)
CMYKcmyk(22.4%, 47.2%, 0%, 2%)
CIE-LABlab(65.65, 45.54, -50.09)
CIE-LCHlch(65.65, 67.70, 312.28°)
OKLaboklab(72.26% 0.1048 -0.1401)
OKLCHoklch(72.26% 0.175 306.8)
XYZxyz(47.7512, 34.8744, 94.6398)
Luminance0.3487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C284FA #BCFA84
analogous
#8784FA #C284FA #FA84F7
triadic
#C284FA #FAC284 #84FAC2
tetradic
#C284FA #FA8784 #BCFA84 #84F7FA
square
#C284FA #FA8784 #BCFA84 #84F7FA
split-complementary
#C284FA #F7FA84 #84FA87
monochromatic
#880EF5 #A549F8 #C284FA #DFBFFC #F0E2FE

Accessibility & contrast

On white

2.63
#C284FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#C284FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C284FA
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C284FA#FFFFFF#000000##000000
##C284FA1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFE
Deuteranopia (green-blind)
#75A0F7
Tritanopia (blue-blind)
#BA98B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c284fa;
/* rgb */ color: rgb(194, 132, 250);
/* oklch */ color: oklch(72.3% 0.175 306.8);
Tailwind
colors: {
  custom: {
    50: '#d7a9fc',
    500: '#c284fa',
    950: '#000000',
  },
}
SCSS
$custom: #c284fa;
$custom-light: #d7a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c284fa",
  "rgb": {
    "r": 194,
    "g": 132,
    "b": 250
  },
  "hsl": {
    "h": 271.525,
    "s": 92.188,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72263,
    "c": 0.17491,
    "h": 306.8
  },
  "luminance": 0.34874
}

Semantic roles & 50–950 ramp

primary
#C284FA
secondary
#E5F6D5
accent
#E6006D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C284FA

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

Preview Lab → · Contrast checker → · Palette generator →

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