#C28FE4#C28FE4

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

Color values

HEX#C28FE4
RGBrgb(194, 143, 228)
HSLhsl(276, 61%, 73%)
HSVhsv(276, 37%, 89%)
CMYKcmyk(14.9%, 37.3%, 0%, 10.6%)
CIE-LABlab(67.06, 34.73, -35.77)
CIE-LCHlch(67.06, 49.86, 314.15°)
OKLaboklab(73% 0.0858 -0.0987)
OKLCHoklch(73% 0.131 311)
XYZxyz(46.0717, 36.7164, 78.0437)
Luminance0.3672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28FE4 #B1E48F
analogous
#978FE4 #C28FE4 #E48FDB
triadic
#C28FE4 #E4C28F #8FE4C2
tetradic
#C28FE4 #E4978F #B1E48F #8FDBE4
square
#C28FE4 #E4978F #B1E48F #8FDBE4
split-complementary
#C28FE4 #DBE48F #8FE497
monochromatic
#8C30C8 #A75ED8 #C28FE4 #DDC0F0 #F2E6F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C28FE4#FFFFFF#000000##000000
##C28FE41.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)
#7FA1E7
Deuteranopia (green-blind)
#8BA4E2
Tritanopia (blue-blind)
#BE9BAF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c28fe4;
/* rgb */ color: rgb(194, 143, 228);
/* oklch */ color: oklch(73.0% 0.131 311.0);
Tailwind
colors: {
  custom: {
    50: '#d5b0ed',
    500: '#c28fe4',
    950: '#000000',
  },
}
SCSS
$custom: #c28fe4;
$custom-light: #d5b0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#c28fe4",
  "rgb": {
    "r": 194,
    "g": 143,
    "b": 228
  },
  "hsl": {
    "h": 276,
    "s": 61.151,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72998,
    "c": 0.1308,
    "h": 311
  },
  "luminance": 0.36716
}

Semantic roles & 50–950 ramp

primary
#C28FE4
secondary
#E3F0DB
accent
#C91D62
background
#FDFAFE
surface
#FAF5FD
border
#D3CFD5
text
#141016
muted
#837F84

Preview Lab

Preview with #C28FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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