#C28CF3#C28CF3

#C28CF3 is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.2% C 0.154 H 307.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#C28CF3
RGBrgb(194, 140, 243)
HSLhsl(271, 81%, 75%)
HSVhsv(271, 42%, 95%)
CMYKcmyk(20.2%, 42.4%, 0%, 4.7%)
CIE-LABlab(67.05, 39.65, -44.05)
CIE-LCHlch(67.05, 59.27, 311.99°)
OKLaboklab(73.2% 0.0929 -0.1226)
OKLCHoklch(73.2% 0.154 307.2)
XYZxyz(47.8007, 36.6970, 89.3417)
Luminance0.3670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28CF3 #BDF38C
analogous
#8E8CF3 #C28CF3 #F38CF1
triadic
#C28CF3 #F3C28C #8CF3C2
tetradic
#C28CF3 #F38E8C #BDF38C #8CF1F3
square
#C28CF3 #F38E8C #BDF38C #8CF1F3
split-complementary
#C28CF3 #F1F38C #8CF38E
monochromatic
#871DE7 #A555ED #C28CF3 #DFC3F9 #F0E3FC

Accessibility & contrast

On white

2.52
#C28CF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#C28CF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28CF3
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28CF3#FFFFFF#000000##000000
##C28CF31.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F7
Deuteranopia (green-blind)
#81A4F0
Tritanopia (blue-blind)
#BB9CB4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c28cf3;
/* rgb */ color: rgb(194, 140, 243);
/* oklch */ color: oklch(73.2% 0.154 307.2);
Tailwind
colors: {
  custom: {
    50: '#d6aef7',
    500: '#c28cf3',
    950: '#000000',
  },
}
SCSS
$custom: #c28cf3;
$custom-light: #d6aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#c28cf3",
  "rgb": {
    "r": 194,
    "g": 140,
    "b": 243
  },
  "hsl": {
    "h": 271.456,
    "s": 81.102,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73202,
    "c": 0.15379,
    "h": 307.2
  },
  "luminance": 0.36697
}

Semantic roles & 50–950 ramp

primary
#C28CF3
secondary
#E5F4D7
accent
#DD086E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #C28CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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