#C28FEF#C28FEF

#C28FEF is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.5% C 0.144 H 307.7°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#C28FEF
RGBrgb(194, 143, 239)
HSLhsl(272, 75%, 75%)
HSVhsv(272, 40%, 94%)
CMYKcmyk(18.8%, 40.2%, 0%, 6.3%)
CIE-LABlab(67.54, 37.13, -41.09)
CIE-LCHlch(67.54, 55.38, 312.10°)
OKLaboklab(73.51% 0.088 -0.114)
OKLCHoklch(73.51% 0.144 307.7)
XYZxyz(47.6476, 37.3467, 86.3431)
Luminance0.3735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28FEF #BCEF8F
analogous
#928FEF #C28FEF #EF8FEC
triadic
#C28FEF #EFC28F #8FEFC2
tetradic
#C28FEF #EF928F #BCEF8F #8FECEF
square
#C28FEF #EF928F #BCEF8F #8FECEF
split-complementary
#C28FEF #ECEF8F #8FEF92
monochromatic
#8824E0 #A559E7 #C28FEF #DFC5F7 #F0E4FB

Accessibility & contrast

On white

2.48
#C28FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#C28FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28FEF
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28FEF#FFFFFF#000000##000000
##C28FEF1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA2F3
Deuteranopia (green-blind)
#86A5EC
Tritanopia (blue-blind)
#BC9EB4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c28fef;
/* rgb */ color: rgb(194, 143, 239);
/* oklch */ color: oklch(73.5% 0.144 307.7);
Tailwind
colors: {
  custom: {
    50: '#d6b0f4',
    500: '#c28fef',
    950: '#000000',
  },
}
SCSS
$custom: #c28fef;
$custom-light: #d6b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c28fef",
  "rgb": {
    "r": 194,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 271.875,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7351,
    "c": 0.14404,
    "h": 307.7
  },
  "luminance": 0.37346
}

Semantic roles & 50–950 ramp

primary
#C28FEF
secondary
#E5F3D8
accent
#D70E6C
background
#FDFAFE
surface
#FAF5FD
border
#D3CFD5
text
#141017
muted
#837F85

Preview Lab

Preview with #C28FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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