#C28FFA#C28FFA

#C28FFA is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.0% C 0.157 H 304.8°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#C28FFA
RGBrgb(194, 143, 250)
HSLhsl(269, 91%, 77%)
HSVhsv(269, 43%, 98%)
CMYKcmyk(22.4%, 42.8%, 0%, 2%)
CIE-LABlab(68.03, 39.58, -46.34)
CIE-LCHlch(68.03, 60.94, 310.51°)
OKLaboklab(74.05% 0.0899 -0.1292)
OKLCHoklch(74.05% 0.157 304.8)
XYZxyz(49.3223, 38.0166, 95.1635)
Luminance0.3802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28FFA #C7FA8F
analogous
#8F92FA #C28FFA #F78FFA
triadic
#C28FFA #FAC28F #8FFAC2
tetradic
#C28FFA #FA8F92 #C7FA8F #8FFAF7
square
#C28FFA #FA8F92 #C7FA8F #8FFAF7
split-complementary
#C28FFA #FAF78F #92FA8F
monochromatic
#821AF5 #A254F7 #C28FFA #E2CAFD #EFE2FE

Accessibility & contrast

On white

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

On black

8.60
#C28FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28FFA
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28FFA#FFFFFF#000000##000000
##C28FFA1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FE
Deuteranopia (green-blind)
#80A6F7
Tritanopia (blue-blind)
#B9A1B9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c28ffa;
/* rgb */ color: rgb(194, 143, 250);
/* oklch */ color: oklch(74.0% 0.157 304.8);
Tailwind
colors: {
  custom: {
    50: '#d6b0fc',
    500: '#c28ffa',
    950: '#000000',
  },
}
SCSS
$custom: #c28ffa;
$custom-light: #d6b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c28ffa",
  "rgb": {
    "r": 194,
    "g": 143,
    "b": 250
  },
  "hsl": {
    "h": 268.598,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74047,
    "c": 0.15741,
    "h": 304.8
  },
  "luminance": 0.38016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C28FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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