#C04BDB#C04BDB

#C04BDB is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.6% C 0.226 H 319.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#C04BDB
RGBrgb(192, 75, 219)
HSLhsl(289, 67%, 58%)
HSVhsv(289, 66%, 86%)
CMYKcmyk(12.3%, 65.8%, 0%, 14.1%)
CIE-LABlab(53.34, 66.35, -52.39)
CIE-LCHlch(53.34, 84.54, 321.71°)
OKLaboklab(62.65% 0.172 -0.1465)
OKLCHoklch(62.65% 0.226 319.6)
XYZxyz(37.0389, 21.3548, 69.1750)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04BDB #66DB4B
analogous
#784BDB #C04BDB #DB4BAE
triadic
#C04BDB #DBC04B #4BDBC0
tetradic
#C04BDB #DB784B #66DB4B #4BAEDB
square
#C04BDB #DB784B #66DB4B #4BAEDB
split-complementary
#C04BDB #AEDB4B #4BDB78
monochromatic
#7A1D8F #A527C2 #C04BDB #D27EE5 #E4B1EF

Accessibility & contrast

On white

3.98
#C04BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#C04BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04BDB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04BDB#FFFFFF#000000##000000
##C04BDB1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1877DF
Deuteranopia (green-blind)
#5683D8
Tritanopia (blue-blind)
#C0648D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c04bdb;
/* rgb */ color: rgb(192, 75, 219);
/* oklch */ color: oklch(62.6% 0.226 319.6);
Tailwind
colors: {
  custom: {
    50: '#d786e7',
    500: '#c04bdb',
    950: '#000000',
  },
}
SCSS
$custom: #c04bdb;
$custom-light: #d786e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c04bdb",
  "rgb": {
    "r": 192,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 288.75,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62648,
    "c": 0.22593,
    "h": 319.6
  },
  "luminance": 0.21353
}

Semantic roles & 50–950 ramp

primary
#C04BDB
secondary
#AFDEA4
accent
#EA3E5E
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C04BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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