#C28FF7#C28FF7

#C28FF7 is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.9% C 0.154 H 305.6°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#C28FF7
RGBrgb(194, 143, 247)
HSLhsl(269, 87%, 76%)
HSVhsv(269, 42%, 97%)
CMYKcmyk(21.5%, 42.1%, 0%, 3.1%)
CIE-LABlab(67.90, 38.91, -44.91)
CIE-LCHlch(67.90, 59.42, 310.90°)
OKLaboklab(73.9% 0.0894 -0.1251)
OKLCHoklch(73.9% 0.154 305.6)
XYZxyz(48.8557, 37.8300, 92.7058)
Luminance0.3783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28FF7 #C4F78F
analogous
#8F90F7 #C28FF7 #F68FF7
triadic
#C28FF7 #F7C28F #8FF7C2
tetradic
#C28FF7 #F78F90 #C4F78F #8FF7F6
square
#C28FF7 #F78F90 #C4F78F #8FF7F6
split-complementary
#C28FF7 #F7F68F #90F78F
monochromatic
#841DEF #A356F3 #C28FF7 #E1C8FB #EFE2FD

Accessibility & contrast

On white

2.45
#C28FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#C28FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28FF7
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28FF7#FFFFFF#000000##000000
##C28FF71.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A4FB
Deuteranopia (green-blind)
#82A6F4
Tritanopia (blue-blind)
#BAA0B7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c28ff7;
/* rgb */ color: rgb(194, 143, 247);
/* oklch */ color: oklch(73.9% 0.154 305.6);
Tailwind
colors: {
  custom: {
    50: '#d6b0fa',
    500: '#c28ff7',
    950: '#000000',
  },
}
SCSS
$custom: #c28ff7;
$custom-light: #d6b0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c28ff7",
  "rgb": {
    "r": 194,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 269.423,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73898,
    "c": 0.15376,
    "h": 305.6
  },
  "luminance": 0.3783
}

Semantic roles & 50–950 ramp

primary
#C28FF7
secondary
#E6F5D6
accent
#E30275
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141017
muted
#837F85

Preview Lab

Preview with #C28FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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