#CD45FB#CD45FB

#CD45FB is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.7% C 0.265 H 316.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CD45FB
RGBrgb(205, 69, 251)
HSLhsl(285, 96%, 63%)
HSVhsv(285, 73%, 98%)
CMYKcmyk(18.3%, 72.5%, 0%, 1.6%)
CIE-LABlab(56.29, 77.28, -65.51)
CIE-LCHlch(56.29, 101.31, 319.71°)
OKLaboklab(65.75% 0.1908 -0.1845)
OKLCHoklch(65.75% 0.265 316)
XYZxyz(44.7148, 24.2022, 93.5642)
Luminance0.2420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD45FB #73FB45
analogous
#7245FB #CD45FB #FB45CE
triadic
#CD45FB #FBCD45 #45FBCD
tetradic
#CD45FB #FB7245 #73FB45 #45CEFB
square
#CD45FB #FB7245 #73FB45 #45CEFB
split-complementary
#CD45FB #CEFB45 #45FB72
monochromatic
#9204C1 #BD09FA #CD45FB #DD81FC #EDBDFE

Accessibility & contrast

On white

3.60
#CD45FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CD45FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD45FB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD45FB#FFFFFF#000000##000000
##CD45FB1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#438BF7
Tritanopia (blue-blind)
#CA6C9D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd45fb;
/* rgb */ color: rgb(205, 69, 251);
/* oklch */ color: oklch(65.7% 0.265 316.0);
Tailwind
colors: {
  custom: {
    50: '#e185fd',
    500: '#cd45fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd45fb;
$custom-light: #e185fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd45fb",
  "rgb": {
    "r": 205,
    "g": 69,
    "b": 251
  },
  "hsl": {
    "h": 284.835,
    "s": 95.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65746,
    "c": 0.26544,
    "h": 316
  },
  "luminance": 0.242
}

Semantic roles & 50–950 ramp

primary
#CD45FB
secondary
#BEEFAD
accent
#E6003A
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #CD45FB

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

Preview Lab → · Contrast checker → · Palette generator →

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