#C284FC#C284FC

#C284FC is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.4% C 0.177 H 306.3°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#C284FC
RGBrgb(194, 132, 252)
HSLhsl(271, 95%, 75%)
HSVhsv(271, 48%, 99%)
CMYKcmyk(23%, 47.6%, 0%, 1.2%)
CIE-LABlab(65.75, 45.99, -51.03)
CIE-LCHlch(65.75, 68.70, 312.02°)
OKLaboklab(72.37% 0.105 -0.1428)
OKLCHoklch(72.37% 0.177 306.3)
XYZxyz(48.0665, 35.0005, 96.3002)
Luminance0.3500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C284FC #BEFC84
analogous
#8684FC #C284FC #FC84FA
triadic
#C284FC #FCC284 #84FCC2
tetradic
#C284FC #FC8684 #BEFC84 #84FAFC
square
#C284FC #FC8684 #BEFC84 #84FAFC
split-complementary
#C284FC #FAFC84 #84FC86
monochromatic
#870DF9 #A448FB #C284FC #E0C0FD #F0E1FE

Accessibility & contrast

On white

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

On black

8.00
#C284FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C284FC
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C284FC#FFFFFF#000000##000000
##C284FC1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#74A0F9
Tritanopia (blue-blind)
#B998B4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c284fc;
/* rgb */ color: rgb(194, 132, 252);
/* oklch */ color: oklch(72.4% 0.177 306.3);
Tailwind
colors: {
  custom: {
    50: '#d7a9fe',
    500: '#c284fc',
    950: '#000000',
  },
}
SCSS
$custom: #c284fc;
$custom-light: #d7a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c284fc",
  "rgb": {
    "r": 194,
    "g": 132,
    "b": 252
  },
  "hsl": {
    "h": 271,
    "s": 95.238,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72368,
    "c": 0.17725,
    "h": 306.3
  },
  "luminance": 0.35
}

Semantic roles & 50–950 ramp

primary
#C284FC
secondary
#E5F6D5
accent
#E6006F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C284FC

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

Preview Lab → · Contrast checker → · Palette generator →

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