#C28EEF#C28EEF

#C28EEF is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.3% C 0.146 H 307.8°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#C28EEF
RGBrgb(194, 142, 239)
HSLhsl(272, 75%, 75%)
HSVhsv(272, 41%, 94%)
CMYKcmyk(18.8%, 40.6%, 0%, 6.3%)
CIE-LABlab(67.31, 37.67, -41.44)
CIE-LCHlch(67.31, 56.01, 312.27°)
OKLaboklab(73.34% 0.0894 -0.115)
OKLCHoklch(73.34% 0.146 307.8)
XYZxyz(47.4981, 37.0478, 86.2933)
Luminance0.3705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28EEF #BBEF8E
analogous
#928EEF #C28EEF #EF8EEC
triadic
#C28EEF #EFC28E #8EEFC2
tetradic
#C28EEF #EF928E #BBEF8E #8EECEF
square
#C28EEF #EF928E #BBEF8E #8EECEF
split-complementary
#C28EEF #ECEF8E #8EEF92
monochromatic
#8823E0 #A558E7 #C28EEF #DFC4F7 #F1E4FB

Accessibility & contrast

On white

2.50
#C28EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#C28EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28EEF
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28EEF#FFFFFF#000000##000000
##C28EEF1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A2F3
Deuteranopia (green-blind)
#85A5EC
Tritanopia (blue-blind)
#BC9DB3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c28eef;
/* rgb */ color: rgb(194, 142, 239);
/* oklch */ color: oklch(73.3% 0.146 307.8);
Tailwind
colors: {
  custom: {
    50: '#d6b0f4',
    500: '#c28eef',
    950: '#000000',
  },
}
SCSS
$custom: #c28eef;
$custom-light: #d6b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c28eef",
  "rgb": {
    "r": 194,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 272.165,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73342,
    "c": 0.14569,
    "h": 307.8
  },
  "luminance": 0.37047
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C28EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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