#C28FFE#C28FFE

#C28FFE is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.2% C 0.162 H 303.9°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#C28FFE
RGBrgb(194, 143, 254)
HSLhsl(268, 98%, 78%)
HSVhsv(268, 44%, 100%)
CMYKcmyk(23.6%, 43.7%, 0%, 0.4%)
CIE-LABlab(68.22, 40.50, -48.22)
CIE-LCHlch(68.22, 62.97, 310.02°)
OKLaboklab(74.25% 0.0905 -0.1347)
OKLCHoklch(74.25% 0.162 303.9)
XYZxyz(49.9562, 38.2702, 98.5018)
Luminance0.3827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C28FFE #CBFE8F
analogous
#8F93FE #C28FFE #FA8FFE
triadic
#C28FFE #FEC28F #8FFEC2
tetradic
#C28FFE #FE8F93 #CBFE8F #8FFEFA
square
#C28FFE #FE8F93 #CBFE8F #8FFEFA
split-complementary
#C28FFE #FEFA8F #93FE8F
monochromatic
#8016FD #A152FD #C28FFE #E3CCFF #EEE1FF

Accessibility & contrast

On white

2.43
#C28FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#C28FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C28FFE
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C28FFE#FFFFFF#000000##000000
##C28FFE1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A5FF
Deuteranopia (green-blind)
#7EA6FB
Tritanopia (blue-blind)
#B8A2BA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c28ffe;
/* rgb */ color: rgb(194, 143, 254);
/* oklch */ color: oklch(74.2% 0.162 303.9);
Tailwind
colors: {
  custom: {
    50: '#d6b0ff',
    500: '#c28ffe',
    950: '#000000',
  },
}
SCSS
$custom: #c28ffe;
$custom-light: #d6b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c28ffe",
  "rgb": {
    "r": 194,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 267.568,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.74248,
    "c": 0.16228,
    "h": 303.9
  },
  "luminance": 0.3827
}

Semantic roles & 50–950 ramp

primary
#C28FFE
secondary
#E7F7D4
accent
#E6007C
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #C28FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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