#C28EFF#C28EFF

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

Color values

HEX#C28EFF
RGBrgb(194, 142, 255)
HSLhsl(268, 100%, 78%)
HSVhsv(268, 44%, 100%)
CMYKcmyk(23.9%, 44.3%, 0%, 0%)
CIE-LABlab(68.05, 41.27, -49.04)
CIE-LCHlch(68.05, 64.10, 310.08°)
OKLaboklab(74.13% 0.092 -0.137)
OKLCHoklch(74.13% 0.165 303.9)
XYZxyz(49.9673, 38.0355, 99.2976)
Luminance0.3804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28EFF #CBFF8E
analogous
#8E92FF #C28EFF #FB8EFF
triadic
#C28EFF #FFC28E #8EFFC2
tetradic
#C28EFF #FF8E92 #CBFF8E #8EFFFB
square
#C28EFF #FF8E92 #CBFF8E #8EFFFB
split-complementary
#C28EFF #FFFB8E #92FF8E
monochromatic
#8014FF #A151FF #C28EFF #E3CBFF #EEE0FF

Accessibility & contrast

On white

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

On black

8.61
#C28EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28EFF
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28EFF#FFFFFF#000000##000000
##C28EFF1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c28eff;
/* rgb */ color: rgb(194, 142, 255);
/* oklch */ color: oklch(74.1% 0.165 303.9);
Tailwind
colors: {
  custom: {
    50: '#d6b0ff',
    500: '#c28eff',
    950: '#000000',
  },
}
SCSS
$custom: #c28eff;
$custom-light: #d6b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c28eff",
  "rgb": {
    "r": 194,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 267.611,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.74134,
    "c": 0.16508,
    "h": 303.9
  },
  "luminance": 0.38035
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C28EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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