#C45FFD#C45FFD

#C45FFD is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 67.5% C 0.233 H 311.1°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#C45FFD
RGBrgb(196, 95, 253)
HSLhsl(278, 98%, 68%)
HSVhsv(278, 62%, 99%)
CMYKcmyk(22.5%, 62.5%, 0%, 0.8%)
CIE-LABlab(58.99, 65.27, -62.34)
CIE-LCHlch(58.99, 90.26, 316.32°)
OKLaboklab(67.47% 0.1534 -0.1757)
OKLCHoklch(67.47% 0.233 311.1)
XYZxyz(44.5835, 27.0131, 95.7749)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45FFD #98FD5F
analogous
#755FFD #C45FFD #FD5FE7
triadic
#C45FFD #FDC45F #5FFDC4
tetradic
#C45FFD #FD755F #98FD5F #5FE7FD
square
#C45FFD #FD755F #98FD5F #5FE7FD
split-complementary
#C45FFD #E7FD5F #5FFD75
monochromatic
#8F03DF #AE23FC #C45FFD #DA9BFE #F1D8FF

Accessibility & contrast

On white

3.28
#C45FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#C45FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45FFD
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45FFD#FFFFFF#000000##000000
##C45FFD1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B89FF
Deuteranopia (green-blind)
#4F90F9
Tritanopia (blue-blind)
#BD7EA6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c45ffd;
/* rgb */ color: rgb(196, 95, 253);
/* oklch */ color: oklch(67.5% 0.233 311.1);
Tailwind
colors: {
  custom: {
    50: '#da92ff',
    500: '#c45ffd',
    950: '#000000',
  },
}
SCSS
$custom: #c45ffd;
$custom-light: #da92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c45ffd",
  "rgb": {
    "r": 196,
    "g": 95,
    "b": 253
  },
  "hsl": {
    "h": 278.354,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67468,
    "c": 0.23323,
    "h": 311.1
  },
  "luminance": 0.27012
}

Semantic roles & 50–950 ramp

primary
#C45FFD
secondary
#D5F4C4
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C45FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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