#C28EF6#C28EF6

#C28EF6 is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.7% C 0.154 H 306.0°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#C28EF6
RGBrgb(194, 142, 246)
HSLhsl(270, 85%, 76%)
HSVhsv(270, 42%, 96%)
CMYKcmyk(21.1%, 42.3%, 0%, 3.5%)
CIE-LABlab(67.63, 39.23, -44.79)
CIE-LCHlch(67.63, 59.54, 311.22°)
OKLaboklab(73.68% 0.0906 -0.1247)
OKLCHoklch(73.68% 0.154 306)
XYZxyz(48.5523, 37.4695, 91.8454)
Luminance0.3747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28EF6 #C2F68E
analogous
#8E8EF6 #C28EF6 #F68EF6
triadic
#C28EF6 #F6C28E #8EF6C2
tetradic
#C28EF6 #F68E8E #C2F68E #8EF6F6
square
#C28EF6 #F68E8E #C2F68E #8EF6F6
split-complementary
#C28EF6 #F6F68E #8EF68E
monochromatic
#851DED #A355F1 #C28EF6 #E1C7FB #F0E3FD

Accessibility & contrast

On white

2.47
#C28EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#C28EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28EF6
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28EF6#FFFFFF#000000##000000
##C28EF61.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A3FA
Deuteranopia (green-blind)
#81A5F3
Tritanopia (blue-blind)
#BA9FB6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c28ef6;
/* rgb */ color: rgb(194, 142, 246);
/* oklch */ color: oklch(73.7% 0.154 306.0);
Tailwind
colors: {
  custom: {
    50: '#d6b0f9',
    500: '#c28ef6',
    950: '#000000',
  },
}
SCSS
$custom: #c28ef6;
$custom-light: #d6b0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c28ef6",
  "rgb": {
    "r": 194,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 270,
    "s": 85.246,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73682,
    "c": 0.15416,
    "h": 306
  },
  "luminance": 0.37469
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C28EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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