#C28AFB#C28AFB

#C28AFB is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.3% C 0.167 H 305.5°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#C28AFB
RGBrgb(194, 138, 251)
HSLhsl(270, 93%, 76%)
HSVhsv(270, 45%, 98%)
CMYKcmyk(22.7%, 45%, 0%, 1.6%)
CIE-LABlab(66.98, 42.53, -48.53)
CIE-LCHlch(66.98, 64.53, 311.23°)
OKLaboklab(73.28% 0.0968 -0.1356)
OKLCHoklch(73.28% 0.167 305.5)
XYZxyz(48.7456, 36.6116, 95.7468)
Luminance0.3661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28AFB #C3FB8A
analogous
#8A8BFB #C28AFB #FB8AFB
triadic
#C28AFB #FBC28A #8AFBC2
tetradic
#C28AFB #FB8A8B #C3FB8A #8AFBFB
square
#C28AFB #FB8A8B #C3FB8A #8AFBFB
split-complementary
#C28AFB #FBFB8A #8BFB8A
monochromatic
#8414F7 #A34FF9 #C28AFB #E1C5FD #F0E1FE

Accessibility & contrast

On white

2.52
#C28AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#C28AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28AFB
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28AFB#FFFFFF#000000##000000
##C28AFB1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FF
Deuteranopia (green-blind)
#7BA3F8
Tritanopia (blue-blind)
#B99DB7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c28afb;
/* rgb */ color: rgb(194, 138, 251);
/* oklch */ color: oklch(73.3% 0.167 305.5);
Tailwind
colors: {
  custom: {
    50: '#d6adfd',
    500: '#c28afb',
    950: '#000000',
  },
}
SCSS
$custom: #c28afb;
$custom-light: #d6adfd;
$custom-dark: #000000;
JSON
{
  "hex": "#c28afb",
  "rgb": {
    "r": 194,
    "g": 138,
    "b": 251
  },
  "hsl": {
    "h": 269.735,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.73276,
    "c": 0.1666,
    "h": 305.5
  },
  "luminance": 0.36611
}

Semantic roles & 50–950 ramp

primary
#C28AFB
secondary
#E6F6D5
accent
#E60074
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C28AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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