#C051DB#C051DB

#C051DB is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.3% C 0.218 H 319.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#C051DB
RGBrgb(192, 81, 219)
HSLhsl(288, 66%, 59%)
HSVhsv(288, 63%, 86%)
CMYKcmyk(12.3%, 63%, 0%, 14.1%)
CIE-LABlab(54.25, 63.82, -50.94)
CIE-LCHlch(54.25, 81.65, 321.41°)
OKLaboklab(63.31% 0.1653 -0.1423)
OKLCHoklch(63.31% 0.218 319.3)
XYZxyz(37.4652, 22.2075, 69.3171)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C051DB #6CDB51
analogous
#7B51DB #C051DB #DB51B1
triadic
#C051DB #DBC051 #51DBC0
tetradic
#C051DB #DB7B51 #6CDB51 #51B1DB
square
#C051DB #DB7B51 #6CDB51 #51B1DB
split-complementary
#C051DB #B1DB51 #51DB7B
monochromatic
#7C1E93 #A729C6 #C051DB #D284E5 #E5B6F0

Accessibility & contrast

On white

3.86
#C051DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#C051DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C051DB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C051DB#FFFFFF#000000##000000
##C051DB1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#297ADF
Deuteranopia (green-blind)
#5A86D8
Tritanopia (blue-blind)
#C0688F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c051db;
/* rgb */ color: rgb(192, 81, 219);
/* oklch */ color: oklch(63.3% 0.218 319.3);
Tailwind
colors: {
  custom: {
    50: '#d689e7',
    500: '#c051db',
    950: '#000000',
  },
}
SCSS
$custom: #c051db;
$custom-light: #d689e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c051db",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 288.261,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63305,
    "c": 0.2181,
    "h": 319.3
  },
  "luminance": 0.22206
}

Semantic roles & 50–950 ramp

primary
#C051DB
secondary
#B3DFA9
accent
#E93F60
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C051DB

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

Preview Lab → · Contrast checker → · Palette generator →

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