#C45FFE#C45FFE

#C45FFE is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 67.5% C 0.234 H 310.9°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#C45FFE
RGBrgb(196, 95, 254)
HSLhsl(278, 99%, 68%)
HSVhsv(278, 63%, 100%)
CMYKcmyk(22.8%, 62.6%, 0%, 0.4%)
CIE-LABlab(59.05, 65.48, -62.80)
CIE-LCHlch(59.05, 90.73, 316.20°)
OKLaboklab(67.53% 0.1534 -0.177)
OKLCHoklch(67.53% 0.234 310.9)
XYZxyz(44.7432, 27.0769, 96.6161)
Luminance0.2708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45FFE #99FE5F
analogous
#745FFE #C45FFE #FE5FE9
triadic
#C45FFE #FEC45F #5FFEC4
tetradic
#C45FFE #FE745F #99FE5F #5FE9FE
square
#C45FFE #FE745F #99FE5F #5FE9FE
split-complementary
#C45FFE #E9FE5F #5FFE74
monochromatic
#9001E1 #AE22FE #C45FFE #DA9CFE #F1D9FF

Accessibility & contrast

On white

3.27
#C45FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#C45FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45FFE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45FFE#FFFFFF#000000##000000
##C45FFE1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0589FF
Deuteranopia (green-blind)
#4E90FA
Tritanopia (blue-blind)
#BD7EA6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c45ffe;
/* rgb */ color: rgb(196, 95, 254);
/* oklch */ color: oklch(67.5% 0.234 310.9);
Tailwind
colors: {
  custom: {
    50: '#da92ff',
    500: '#c45ffe',
    950: '#000000',
  },
}
SCSS
$custom: #c45ffe;
$custom-light: #da92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c45ffe",
  "rgb": {
    "r": 196,
    "g": 95,
    "b": 254
  },
  "hsl": {
    "h": 278.113,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6753,
    "c": 0.23422,
    "h": 310.9
  },
  "luminance": 0.27076
}

Semantic roles & 50–950 ramp

primary
#C45FFE
secondary
#D6F4C4
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C45FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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