#C45FBC#C45FBC

#C45FBC is a light, vivid purple. Relative luminance 0.236; OKLCH L 63.9% C 0.172 H 330.4°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#C45FBC
RGBrgb(196, 95, 188)
HSLhsl(305, 46%, 57%)
HSVhsv(305, 52%, 77%)
CMYKcmyk(0%, 51.5%, 4.1%, 23.1%)
CIE-LABlab(55.64, 52.76, -31.01)
CIE-LCHlch(55.64, 61.20, 329.55°)
OKLaboklab(63.94% 0.1493 -0.0847)
OKLCHoklch(63.94% 0.172 330.4)
XYZxyz(35.9340, 23.5532, 50.2207)
Luminance0.2355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45FBC #5FC467
analogous
#995FC4 #C45FBC #C45F8A
triadic
#C45FBC #BCC45F #5FBCC4
tetradic
#C45FBC #C4995F #5FC467 #5F8AC4
square
#C45FBC #C4995F #5FC467 #5F8AC4
split-complementary
#C45FBC #8AC45F #5FC499
monochromatic
#7B2D75 #A83E9F #C45FBC #D48CCF #E5B8E1

Accessibility & contrast

On white

3.68
#C45FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#C45FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45FBC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45FBC#FFFFFF#000000##000000
##C45FBC1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBF
Deuteranopia (green-blind)
#788AB9
Tritanopia (blue-blind)
#CB6885
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c45fbc;
/* rgb */ color: rgb(196, 95, 188);
/* oklch */ color: oklch(63.9% 0.172 330.4);
Tailwind
colors: {
  custom: {
    50: '#d890d0',
    500: '#c45fbc',
    950: '#000000',
  },
}
SCSS
$custom: #c45fbc;
$custom-light: #d890d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c45fbc",
  "rgb": {
    "r": 196,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 304.752,
    "s": 46.119,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63937,
    "c": 0.17169,
    "h": 330.4
  },
  "luminance": 0.23551
}

Semantic roles & 50–950 ramp

primary
#C45FBC
secondary
#ABD4AE
accent
#D65C52
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #C45FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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