#C28FFC#C28FFC

#C28FFC is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.1% C 0.160 H 304.4°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#C28FFC
RGBrgb(194, 143, 252)
HSLhsl(268, 95%, 77%)
HSVhsv(268, 43%, 99%)
CMYKcmyk(23%, 43.3%, 0%, 1.2%)
CIE-LABlab(68.13, 40.04, -47.28)
CIE-LCHlch(68.13, 61.96, 310.26°)
OKLaboklab(74.15% 0.0902 -0.1319)
OKLCHoklch(74.15% 0.16 304.4)
XYZxyz(49.6376, 38.1427, 96.8239)
Luminance0.3814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28FFC #C9FC8F
analogous
#8F93FC #C28FFC #F88FFC
triadic
#C28FFC #FCC28F #8FFCC2
tetradic
#C28FFC #FC8F93 #C9FC8F #8FFCF8
square
#C28FFC #FC8F93 #C9FC8F #8FFCF8
split-complementary
#C28FFC #FCF88F #93FC8F
monochromatic
#8118F9 #A253FA #C28FFC #E2CBFE #EFE1FE

Accessibility & contrast

On white

2.43
#C28FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#C28FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28FFC
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28FFC#FFFFFF#000000##000000
##C28FFC1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#7FA6F9
Tritanopia (blue-blind)
#B8A1BA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c28ffc;
/* rgb */ color: rgb(194, 143, 252);
/* oklch */ color: oklch(74.1% 0.160 304.4);
Tailwind
colors: {
  custom: {
    50: '#d6b0fe',
    500: '#c28ffc',
    950: '#000000',
  },
}
SCSS
$custom: #c28ffc;
$custom-light: #d6b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c28ffc",
  "rgb": {
    "r": 194,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 268.073,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74147,
    "c": 0.15984,
    "h": 304.4
  },
  "luminance": 0.38143
}

Semantic roles & 50–950 ramp

primary
#C28FFC
secondary
#E7F6D5
accent
#E6007A
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #C28FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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