#C28EF8#C28EF8

#C28EF8 is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.8% C 0.157 H 305.5°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#C28EF8
RGBrgb(194, 142, 248)
HSLhsl(269, 88%, 76%)
HSVhsv(269, 43%, 97%)
CMYKcmyk(21.8%, 42.7%, 0%, 2.7%)
CIE-LABlab(67.72, 39.68, -45.74)
CIE-LCHlch(67.72, 60.55, 310.94°)
OKLaboklab(73.78% 0.091 -0.1275)
OKLCHoklch(73.78% 0.157 305.5)
XYZxyz(48.8609, 37.5929, 93.4708)
Luminance0.3759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28EF8 #C4F88E
analogous
#8E8FF8 #C28EF8 #F78EF8
triadic
#C28EF8 #F8C28E #8EF8C2
tetradic
#C28EF8 #F88E8F #C4F88E #8EF8F7
square
#C28EF8 #F88E8F #C4F88E #8EF8F7
split-complementary
#C28EF8 #F8F78E #8FF88E
monochromatic
#841BF1 #A354F4 #C28EF8 #E1C8FC #EFE2FD

Accessibility & contrast

On white

2.47
#C28EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#C28EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28EF8
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28EF8#FFFFFF#000000##000000
##C28EF81.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FC
Deuteranopia (green-blind)
#80A5F5
Tritanopia (blue-blind)
#BA9FB7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c28ef8;
/* rgb */ color: rgb(194, 142, 248);
/* oklch */ color: oklch(73.8% 0.157 305.5);
Tailwind
colors: {
  custom: {
    50: '#d6b0fb',
    500: '#c28ef8',
    950: '#000000',
  },
}
SCSS
$custom: #c28ef8;
$custom-light: #d6b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c28ef8",
  "rgb": {
    "r": 194,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 269.434,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73781,
    "c": 0.15658,
    "h": 305.5
  },
  "luminance": 0.37593
}

Semantic roles & 50–950 ramp

primary
#C28EF8
secondary
#E6F5D6
accent
#E50175
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141017
muted
#837F85

Preview Lab

Preview with #C28EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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