#C28BF3#C28BF3

#C28BF3 is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.0% C 0.155 H 307.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#C28BF3
RGBrgb(194, 139, 243)
HSLhsl(272, 81%, 75%)
HSVhsv(272, 43%, 95%)
CMYKcmyk(20.2%, 42.8%, 0%, 4.7%)
CIE-LABlab(66.83, 40.19, -44.40)
CIE-LCHlch(66.83, 59.89, 312.16°)
OKLaboklab(73.04% 0.0943 -0.1236)
OKLCHoklch(73.04% 0.155 307.3)
XYZxyz(47.6552, 36.4061, 89.2932)
Luminance0.3641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28BF3 #BCF38B
analogous
#8E8BF3 #C28BF3 #F38BF0
triadic
#C28BF3 #F3C28B #8BF3C2
tetradic
#C28BF3 #F38E8B #BCF38B #8BF0F3
square
#C28BF3 #F38E8B #BCF38B #8BF0F3
split-complementary
#C28BF3 #F0F38B #8BF38E
monochromatic
#881CE8 #A554ED #C28BF3 #DFC2F9 #F0E3FC

Accessibility & contrast

On white

2.54
#C28BF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#C28BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28BF3
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28BF3#FFFFFF#000000##000000
##C28BF31.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F7
Deuteranopia (green-blind)
#80A3F0
Tritanopia (blue-blind)
#BB9CB3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c28bf3;
/* rgb */ color: rgb(194, 139, 243);
/* oklch */ color: oklch(73.0% 0.155 307.3);
Tailwind
colors: {
  custom: {
    50: '#d6aef7',
    500: '#c28bf3',
    950: '#000000',
  },
}
SCSS
$custom: #c28bf3;
$custom-light: #d6aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#c28bf3",
  "rgb": {
    "r": 194,
    "g": 139,
    "b": 243
  },
  "hsl": {
    "h": 271.731,
    "s": 81.25,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73037,
    "c": 0.15542,
    "h": 307.3
  },
  "luminance": 0.36406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C28BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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