#C28EFA#C28EFA

#C28EFA is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.9% C 0.159 H 305.0°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#C28EFA
RGBrgb(194, 142, 250)
HSLhsl(269, 92%, 77%)
HSVhsv(269, 43%, 98%)
CMYKcmyk(22.4%, 43.2%, 0%, 2%)
CIE-LABlab(67.81, 40.13, -46.68)
CIE-LCHlch(67.81, 61.56, 310.68°)
OKLaboklab(73.88% 0.0913 -0.1302)
OKLCHoklch(73.88% 0.159 305)
XYZxyz(49.1729, 37.7177, 95.1137)
Luminance0.3772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28EFA #C6FA8E
analogous
#8E90FA #C28EFA #F88EFA
triadic
#C28EFA #FAC28E #8EFAC2
tetradic
#C28EFA #FA8E90 #C6FA8E #8EFAF8
square
#C28EFA #FA8E90 #C6FA8E #8EFAF8
split-complementary
#C28EFA #FAF88E #90FA8E
monochromatic
#8319F5 #A253F7 #C28EFA #E2C9FD #EFE2FE

Accessibility & contrast

On white

2.46
#C28EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#C28EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28EFA
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28EFA#FFFFFF#000000##000000
##C28EFA1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FE
Deuteranopia (green-blind)
#7FA5F7
Tritanopia (blue-blind)
#B9A0B8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c28efa;
/* rgb */ color: rgb(194, 142, 250);
/* oklch */ color: oklch(73.9% 0.159 305.0);
Tailwind
colors: {
  custom: {
    50: '#d6b0fc',
    500: '#c28efa',
    950: '#000000',
  },
}
SCSS
$custom: #c28efa;
$custom-light: #d6b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c28efa",
  "rgb": {
    "r": 194,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 268.889,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.73881,
    "c": 0.159,
    "h": 305
  },
  "luminance": 0.37717
}

Semantic roles & 50–950 ramp

primary
#C28EFA
secondary
#E6F6D5
accent
#E60077
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141017
muted
#837F85

Preview Lab

Preview with #C28EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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