#C28CF7#C28CF7

#C28CF7 is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.4% C 0.159 H 306.1°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#C28CF7
RGBrgb(194, 140, 247)
HSLhsl(270, 87%, 76%)
HSVhsv(270, 43%, 97%)
CMYKcmyk(21.5%, 43.3%, 0%, 3.1%)
CIE-LABlab(67.23, 40.54, -45.95)
CIE-LCHlch(67.23, 61.28, 311.42°)
OKLaboklab(73.4% 0.0935 -0.1281)
OKLCHoklch(73.4% 0.159 306.1)
XYZxyz(48.4113, 36.9413, 92.5577)
Luminance0.3694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28CF7 #C1F78C
analogous
#8C8CF7 #C28CF7 #F78CF7
triadic
#C28CF7 #F7C28C #8CF7C2
tetradic
#C28CF7 #F78C8C #C1F78C #8CF7F7
square
#C28CF7 #F78C8C #C1F78C #8CF7F7
split-complementary
#C28CF7 #F7F78C #8CF78C
monochromatic
#851AEF #A453F3 #C28CF7 #E0C5FB #F0E2FD

Accessibility & contrast

On white

2.50
#C28CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#C28CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28CF7
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28CF7#FFFFFF#000000##000000
##C28CF71.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FB
Deuteranopia (green-blind)
#7FA4F4
Tritanopia (blue-blind)
#BA9DB6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c28cf7;
/* rgb */ color: rgb(194, 140, 247);
/* oklch */ color: oklch(73.4% 0.159 306.1);
Tailwind
colors: {
  custom: {
    50: '#d6aefa',
    500: '#c28cf7',
    950: '#000000',
  },
}
SCSS
$custom: #c28cf7;
$custom-light: #d6aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#c28cf7",
  "rgb": {
    "r": 194,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 270.28,
    "s": 86.992,
    "l": 75.882
  },
  "oklch": {
    "l": 0.734,
    "c": 0.15859,
    "h": 306.1
  },
  "luminance": 0.36941
}

Semantic roles & 50–950 ramp

primary
#C28CF7
secondary
#E5F5D6
accent
#E40272
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #C28CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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