#C284F8#C284F8

#C284F8 is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.2% C 0.173 H 307.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#C284F8
RGBrgb(194, 132, 248)
HSLhsl(272, 89%, 75%)
HSVhsv(272, 47%, 97%)
CMYKcmyk(21.8%, 46.8%, 0%, 2.7%)
CIE-LABlab(65.55, 45.09, -49.15)
CIE-LCHlch(65.55, 66.70, 312.54°)
OKLaboklab(72.16% 0.1045 -0.1373)
OKLCHoklch(72.16% 0.173 307.3)
XYZxyz(47.4393, 34.7497, 92.9970)
Luminance0.3475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C284F8 #BAF884
analogous
#8884F8 #C284F8 #F884F4
triadic
#C284F8 #F8C284 #84F8C2
tetradic
#C284F8 #F88884 #BAF884 #84F4F8
square
#C284F8 #F88884 #BAF884 #84F4F8
split-complementary
#C284F8 #F4F884 #84F888
monochromatic
#8910F1 #A54AF5 #C284F8 #DFBEFB #F1E2FD

Accessibility & contrast

On white

2.64
#C284F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#C284F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C284F8
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C284F8#FFFFFF#000000##000000
##C284F81.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFC
Deuteranopia (green-blind)
#76A0F5
Tritanopia (blue-blind)
#BA97B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c284f8;
/* rgb */ color: rgb(194, 132, 248);
/* oklch */ color: oklch(72.2% 0.173 307.3);
Tailwind
colors: {
  custom: {
    50: '#d7a9fb',
    500: '#c284f8',
    950: '#000000',
  },
}
SCSS
$custom: #c284f8;
$custom-light: #d7a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c284f8",
  "rgb": {
    "r": 194,
    "g": 132,
    "b": 248
  },
  "hsl": {
    "h": 272.069,
    "s": 89.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72159,
    "c": 0.17257,
    "h": 307.3
  },
  "luminance": 0.34749
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C284F8

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

Preview Lab → · Contrast checker → · Palette generator →

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