#C28FF9#C28FF9

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

Color values

HEX#C28FF9
RGBrgb(194, 143, 249)
HSLhsl(269, 90%, 77%)
HSVhsv(269, 43%, 98%)
CMYKcmyk(22.1%, 42.6%, 0%, 2.4%)
CIE-LABlab(67.99, 39.36, -45.86)
CIE-LCHlch(67.99, 60.44, 310.64°)
OKLaboklab(74% 0.0898 -0.1278)
OKLCHoklch(74% 0.156 305.1)
XYZxyz(49.1659, 37.9541, 94.3399)
Luminance0.3795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28FF9 #C6F98F
analogous
#8F91F9 #C28FF9 #F78FF9
triadic
#C28FF9 #F9C28F #8FF9C2
tetradic
#C28FF9 #F98F91 #C6F98F #8FF9F7
square
#C28FF9 #F98F91 #C6F98F #8FF9F7
split-complementary
#C28FF9 #F9F78F #91F98F
monochromatic
#831BF3 #A255F6 #C28FF9 #E2C9FC #EFE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C28FF9#FFFFFF#000000##000000
##C28FF91.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)
#75A4FD
Deuteranopia (green-blind)
#81A6F6
Tritanopia (blue-blind)
#B9A0B8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c28ff9;
/* rgb */ color: rgb(194, 143, 249);
/* oklch */ color: oklch(74.0% 0.156 305.1);
Tailwind
colors: {
  custom: {
    50: '#d6b0fb',
    500: '#c28ff9',
    950: '#000000',
  },
}
SCSS
$custom: #c28ff9;
$custom-light: #d6b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c28ff9",
  "rgb": {
    "r": 194,
    "g": 143,
    "b": 249
  },
  "hsl": {
    "h": 268.868,
    "s": 89.831,
    "l": 76.863
  },
  "oklch": {
    "l": 0.73997,
    "c": 0.15619,
    "h": 305.1
  },
  "luminance": 0.37954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C28FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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