#C45AFF#C45AFF

#C45AFF is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 67.0% C 0.242 H 311.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#C45AFF
RGBrgb(196, 90, 255)
HSLhsl(279, 100%, 68%)
HSVhsv(279, 65%, 100%)
CMYKcmyk(23.1%, 64.7%, 0%, 0%)
CIE-LABlab(58.29, 67.93, -64.56)
CIE-LCHlch(58.29, 93.72, 316.46°)
OKLaboklab(67.01% 0.1589 -0.1821)
OKLCHoklch(67.01% 0.242 311.1)
XYZxyz(44.4677, 26.2691, 97.3163)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45AFF #95FF5A
analogous
#715AFF #C45AFF #FF5AE8
triadic
#C45AFF #FFC45A #5AFFC4
tetradic
#C45AFF #FF715A #95FF5A #5AE8FF
square
#C45AFF #FF715A #95FF5A #5AE8FF
split-complementary
#C45AFF #E8FF5A #5AFF71
monochromatic
#8F00DF #AE1DFF #C45AFF #DA97FF #F0D4FF

Accessibility & contrast

On white

3.36
#C45AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#C45AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45AFF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45AFF#FFFFFF#000000##000000
##C45AFF1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#478EFB
Tritanopia (blue-blind)
#BD7BA5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c45aff;
/* rgb */ color: rgb(196, 90, 255);
/* oklch */ color: oklch(67.0% 0.242 311.1);
Tailwind
colors: {
  custom: {
    50: '#da8fff',
    500: '#c45aff',
    950: '#000000',
  },
}
SCSS
$custom: #c45aff;
$custom-light: #da8fff;
$custom-dark: #000000;
JSON
{
  "hex": "#c45aff",
  "rgb": {
    "r": 196,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 278.545,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67005,
    "c": 0.24168,
    "h": 311.1
  },
  "luminance": 0.26268
}

Semantic roles & 50–950 ramp

primary
#C45AFF
secondary
#D3F4C1
accent
#E60052
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C45AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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