#C45DFF#C45DFF

#C45DFF is a light, highly saturated violet. Relative luminance 0.268; OKLCH L 67.4% C 0.238 H 310.9°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#C45DFF
RGBrgb(196, 93, 255)
HSLhsl(278, 100%, 68%)
HSVhsv(278, 64%, 100%)
CMYKcmyk(23.1%, 63.5%, 0%, 0%)
CIE-LABlab(58.78, 66.60, -63.79)
CIE-LCHlch(58.78, 92.22, 316.24°)
OKLaboklab(67.35% 0.1556 -0.1799)
OKLCHoklch(67.35% 0.238 310.9)
XYZxyz(44.7259, 26.7855, 97.4024)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45DFF #98FF5D
analogous
#735DFF #C45DFF #FF5DE9
triadic
#C45DFF #FFC45D #5DFFC4
tetradic
#C45DFF #FF735D #98FF5D #5DE9FF
square
#C45DFF #FF735D #98FF5D #5DE9FF
split-complementary
#C45DFF #E9FF5D #5DFF73
monochromatic
#8F00E2 #AE20FF #C45DFF #DA9AFF #F1D7FF

Accessibility & contrast

On white

3.30
#C45DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#C45DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45DFF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45DFF#FFFFFF#000000##000000
##C45DFF1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#4A8FFB
Tritanopia (blue-blind)
#BD7DA6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c45dff;
/* rgb */ color: rgb(196, 93, 255);
/* oklch */ color: oklch(67.4% 0.238 310.9);
Tailwind
colors: {
  custom: {
    50: '#da91ff',
    500: '#c45dff',
    950: '#000000',
  },
}
SCSS
$custom: #c45dff;
$custom-light: #da91ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c45dff",
  "rgb": {
    "r": 196,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 278.148,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67354,
    "c": 0.23783,
    "h": 310.9
  },
  "luminance": 0.26784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C45DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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