#C045DB#C045DB

#C045DB is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.0% C 0.233 H 319.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C045DB
RGBrgb(192, 69, 219)
HSLhsl(289, 68%, 56%)
HSVhsv(289, 68%, 86%)
CMYKcmyk(12.3%, 68.5%, 0%, 14.1%)
CIE-LABlab(52.49, 68.73, -53.75)
CIE-LCHlch(52.49, 87.25, 321.98°)
OKLaboklab(62.04% 0.1783 -0.1504)
OKLCHoklch(62.04% 0.233 319.8)
XYZxyz(36.6509, 20.5790, 69.0457)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045DB #60DB45
analogous
#7545DB #C045DB #DB45AB
triadic
#C045DB #DBC045 #45DBC0
tetradic
#C045DB #DB7545 #60DB45 #45ABDB
square
#C045DB #DB7545 #60DB45 #45ABDB
split-complementary
#C045DB #ABDB45 #45DB75
monochromatic
#771B8B #A225BE #C045DB #D178E5 #E3ACEF

Accessibility & contrast

On white

4.11
#C045DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#C045DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045DB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045DB#FFFFFF#000000##000000
##C045DB1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#5281D7
Tritanopia (blue-blind)
#C1618B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c045db;
/* rgb */ color: rgb(192, 69, 219);
/* oklch */ color: oklch(62.0% 0.233 319.8);
Tailwind
colors: {
  custom: {
    50: '#d783e7',
    500: '#c045db',
    950: '#000000',
  },
}
SCSS
$custom: #c045db;
$custom-light: #d783e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c045db",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 289.2,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62038,
    "c": 0.2333,
    "h": 319.8
  },
  "luminance": 0.20577
}

Semantic roles & 50–950 ramp

primary
#C045DB
secondary
#AADD9F
accent
#EA3D5D
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C045DB

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

Preview Lab → · Contrast checker → · Palette generator →

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