#C45AFB#C45AFB

#C45AFB is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.8% C 0.238 H 312.0°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#C45AFB
RGBrgb(196, 90, 251)
HSLhsl(280, 95%, 67%)
HSVhsv(280, 64%, 98%)
CMYKcmyk(21.9%, 64.1%, 0%, 1.6%)
CIE-LABlab(58.05, 67.11, -62.74)
CIE-LCHlch(58.05, 91.87, 316.93°)
OKLaboklab(66.76% 0.1591 -0.1768)
OKLCHoklch(66.76% 0.238 312)
XYZxyz(43.8305, 26.0142, 93.9604)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45AFB #91FB5A
analogous
#745AFB #C45AFB #FB5AE2
triadic
#C45AFB #FBC45A #5AFBC4
tetradic
#C45AFB #FB745A #91FB5A #5AE2FB
square
#C45AFB #FB745A #91FB5A #5AE2FB
split-complementary
#C45AFB #E2FB5A #5AFB74
monochromatic
#8E05D5 #AF1EFA #C45AFB #D996FC #EFD2FE

Accessibility & contrast

On white

3.39
#C45AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#C45AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45AFB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45AFB#FFFFFF#000000##000000
##C45AFB1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#4B8EF7
Tritanopia (blue-blind)
#BE7AA3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c45afb;
/* rgb */ color: rgb(196, 90, 251);
/* oklch */ color: oklch(66.8% 0.238 312.0);
Tailwind
colors: {
  custom: {
    50: '#da8ffd',
    500: '#c45afb',
    950: '#000000',
  },
}
SCSS
$custom: #c45afb;
$custom-light: #da8ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#c45afb",
  "rgb": {
    "r": 196,
    "g": 90,
    "b": 251
  },
  "hsl": {
    "h": 279.503,
    "s": 95.266,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66755,
    "c": 0.23783,
    "h": 312
  },
  "luminance": 0.26013
}

Semantic roles & 50–950 ramp

primary
#C45AFB
secondary
#D0F2BF
accent
#E6004E
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C45AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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