#C28EFE#C28EFE

#C28EFE is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.1% C 0.164 H 304.1°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#C28EFE
RGBrgb(194, 142, 254)
HSLhsl(268, 98%, 78%)
HSVhsv(268, 44%, 100%)
CMYKcmyk(23.6%, 44.1%, 0%, 0.4%)
CIE-LABlab(68.00, 41.04, -48.57)
CIE-LCHlch(68.00, 63.59, 310.20°)
OKLaboklab(74.08% 0.0919 -0.1357)
OKLCHoklch(74.08% 0.164 304.1)
XYZxyz(49.8067, 37.9713, 98.4520)
Luminance0.3797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28EFE #CAFE8E
analogous
#8E92FE #C28EFE #FA8EFE
triadic
#C28EFE #FEC28E #8EFEC2
tetradic
#C28EFE #FE8E92 #CAFE8E #8EFEFA
square
#C28EFE #FE8E92 #CAFE8E #8EFEFA
split-complementary
#C28EFE #FEFA8E #92FE8E
monochromatic
#8115FD #A151FD #C28EFE #E3CBFF #EFE1FF

Accessibility & contrast

On white

2.44
#C28EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#C28EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28EFE
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28EFE#FFFFFF#000000##000000
##C28EFE1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#7DA6FB
Tritanopia (blue-blind)
#B8A1BA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c28efe;
/* rgb */ color: rgb(194, 142, 254);
/* oklch */ color: oklch(74.1% 0.164 304.1);
Tailwind
colors: {
  custom: {
    50: '#d6b0ff',
    500: '#c28efe',
    950: '#000000',
  },
}
SCSS
$custom: #c28efe;
$custom-light: #d6b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c28efe",
  "rgb": {
    "r": 194,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 267.857,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.74083,
    "c": 0.16386,
    "h": 304.1
  },
  "luminance": 0.37971
}

Semantic roles & 50–950 ramp

primary
#C28EFE
secondary
#E7F7D4
accent
#E6007B
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #C28EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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