#C28EF9#C28EF9

#C28EF9 is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.8% C 0.158 H 305.3°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#C28EF9
RGBrgb(194, 142, 249)
HSLhsl(269, 90%, 77%)
HSVhsv(269, 43%, 98%)
CMYKcmyk(22.1%, 43%, 0%, 2.4%)
CIE-LABlab(67.77, 39.90, -46.21)
CIE-LCHlch(67.77, 61.05, 310.81°)
OKLaboklab(73.83% 0.0911 -0.1288)
OKLCHoklch(73.83% 0.158 305.3)
XYZxyz(49.0165, 37.6552, 94.2901)
Luminance0.3765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28EF9 #C5F98E
analogous
#8E90F9 #C28EF9 #F88EF9
triadic
#C28EF9 #F9C28E #8EF9C2
tetradic
#C28EF9 #F98E90 #C5F98E #8EF9F8
square
#C28EF9 #F98E90 #C5F98E #8EF9F8
split-complementary
#C28EF9 #F9F88E #90F98E
monochromatic
#831AF3 #A354F6 #C28EF9 #E1C8FC #EFE2FD

Accessibility & contrast

On white

2.46
#C28EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#C28EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28EF9
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28EF9#FFFFFF#000000##000000
##C28EF91.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FD
Deuteranopia (green-blind)
#80A5F6
Tritanopia (blue-blind)
#B9A0B8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c28ef9;
/* rgb */ color: rgb(194, 142, 249);
/* oklch */ color: oklch(73.8% 0.158 305.3);
Tailwind
colors: {
  custom: {
    50: '#d6b0fb',
    500: '#c28ef9',
    950: '#000000',
  },
}
SCSS
$custom: #c28ef9;
$custom-light: #d6b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c28ef9",
  "rgb": {
    "r": 194,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 269.159,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.73831,
    "c": 0.15779,
    "h": 305.3
  },
  "luminance": 0.37655
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C28EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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