#C45BFE#C45BFE

#C45BFE is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 67.1% C 0.239 H 311.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#C45BFE
RGBrgb(196, 91, 254)
HSLhsl(279, 99%, 68%)
HSVhsv(279, 64%, 100%)
CMYKcmyk(22.8%, 64.2%, 0%, 0.4%)
CIE-LABlab(58.39, 67.28, -63.85)
CIE-LCHlch(58.39, 92.76, 316.50°)
OKLaboklab(67.06% 0.1578 -0.1801)
OKLCHoklch(67.06% 0.239 311.2)
XYZxyz(44.3921, 26.3747, 96.4990)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45BFE #95FE5B
analogous
#725BFE #C45BFE #FE5BE7
triadic
#C45BFE #FEC45B #5BFEC4
tetradic
#C45BFE #FE725B #95FE5B #5BE7FE
square
#C45BFE #FE725B #95FE5B #5BE7FE
split-complementary
#C45BFE #E7FE5B #5BFE72
monochromatic
#8F01DD #AE1EFE #C45BFE #DA98FE #F0D5FF

Accessibility & contrast

On white

3.35
#C45BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#C45BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45BFE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45BFE#FFFFFF#000000##000000
##C45BFE1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#498EFA
Tritanopia (blue-blind)
#BD7CA5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c45bfe;
/* rgb */ color: rgb(196, 91, 254);
/* oklch */ color: oklch(67.1% 0.239 311.2);
Tailwind
colors: {
  custom: {
    50: '#da90ff',
    500: '#c45bfe',
    950: '#000000',
  },
}
SCSS
$custom: #c45bfe;
$custom-light: #da90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c45bfe",
  "rgb": {
    "r": 196,
    "g": 91,
    "b": 254
  },
  "hsl": {
    "h": 278.65,
    "s": 98.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67058,
    "c": 0.23944,
    "h": 311.2
  },
  "luminance": 0.26374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C45BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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