#C28AF3#C28AF3

#C28AF3 is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.9% C 0.157 H 307.5°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#C28AF3
RGBrgb(194, 138, 243)
HSLhsl(272, 81%, 75%)
HSVhsv(272, 43%, 95%)
CMYKcmyk(20.2%, 43.2%, 0%, 4.7%)
CIE-LABlab(66.61, 40.74, -44.74)
CIE-LCHlch(66.61, 60.51, 312.32°)
OKLaboklab(72.87% 0.0956 -0.1246)
OKLCHoklch(72.87% 0.157 307.5)
XYZxyz(47.5111, 36.1178, 89.2452)
Luminance0.3612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28AF3 #BBF38A
analogous
#8E8AF3 #C28AF3 #F38AEF
triadic
#C28AF3 #F3C28A #8AF3C2
tetradic
#C28AF3 #F38E8A #BBF38A #8AEFF3
square
#C28AF3 #F38E8A #BBF38A #8AEFF3
split-complementary
#C28AF3 #EFF38A #8AF38E
monochromatic
#881BE8 #A552ED #C28AF3 #DFC2F9 #F1E3FC

Accessibility & contrast

On white

2.55
#C28AF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#C28AF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28AF3
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28AF3#FFFFFF#000000##000000
##C28AF31.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A0F7
Deuteranopia (green-blind)
#7FA3F0
Tritanopia (blue-blind)
#BB9BB3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c28af3;
/* rgb */ color: rgb(194, 138, 243);
/* oklch */ color: oklch(72.9% 0.157 307.5);
Tailwind
colors: {
  custom: {
    50: '#d6adf7',
    500: '#c28af3',
    950: '#000000',
  },
}
SCSS
$custom: #c28af3;
$custom-light: #d6adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#c28af3",
  "rgb": {
    "r": 194,
    "g": 138,
    "b": 243
  },
  "hsl": {
    "h": 272,
    "s": 81.395,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72872,
    "c": 0.15704,
    "h": 307.5
  },
  "luminance": 0.36117
}

Semantic roles & 50–950 ramp

primary
#C28AF3
secondary
#E5F4D7
accent
#DE086C
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #C28AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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