#C28DF6#C28DF6

#C28DF6 is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.5% C 0.156 H 306.2°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#C28DF6
RGBrgb(194, 141, 246)
HSLhsl(270, 85%, 76%)
HSVhsv(270, 43%, 96%)
CMYKcmyk(21.1%, 42.7%, 0%, 3.5%)
CIE-LABlab(67.41, 39.77, -45.13)
CIE-LCHlch(67.41, 60.16, 311.39°)
OKLaboklab(73.52% 0.092 -0.1257)
OKLCHoklch(73.52% 0.156 306.2)
XYZxyz(48.4042, 37.1733, 91.7961)
Luminance0.3717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28DF6 #C1F68D
analogous
#8D8DF6 #C28DF6 #F68DF5
triadic
#C28DF6 #F6C28D #8DF6C2
tetradic
#C28DF6 #F68D8D #C1F68D #8DF5F6
square
#C28DF6 #F68D8D #C1F68D #8DF5F6
split-complementary
#C28DF6 #F5F68D #8DF68D
monochromatic
#851CED #A454F2 #C28DF6 #E0C6FA #F0E3FD

Accessibility & contrast

On white

2.49
#C28DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#C28DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28DF6
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28DF6#FFFFFF#000000##000000
##C28DF61.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A2FA
Deuteranopia (green-blind)
#80A5F3
Tritanopia (blue-blind)
#BA9EB6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c28df6;
/* rgb */ color: rgb(194, 141, 246);
/* oklch */ color: oklch(73.5% 0.156 306.2);
Tailwind
colors: {
  custom: {
    50: '#d6aff9',
    500: '#c28df6',
    950: '#000000',
  },
}
SCSS
$custom: #c28df6;
$custom-light: #d6aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#c28df6",
  "rgb": {
    "r": 194,
    "g": 141,
    "b": 246
  },
  "hsl": {
    "h": 270.286,
    "s": 85.366,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73516,
    "c": 0.15578,
    "h": 306.2
  },
  "luminance": 0.37173
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C28DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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