#C758ED#C758ED

#C758ED is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.0% C 0.228 H 316.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#C758ED
RGBrgb(199, 88, 237)
HSLhsl(285, 81%, 64%)
HSVhsv(285, 63%, 93%)
CMYKcmyk(16%, 62.9%, 0%, 7.1%)
CIE-LABlab(57.31, 65.85, -56.12)
CIE-LCHlch(57.31, 86.52, 319.56°)
OKLaboklab(66.04% 0.1654 -0.1573)
OKLCHoklch(66.04% 0.228 316.4)
XYZxyz(42.3267, 25.2376, 82.7461)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C758ED #7EED58
analogous
#7C58ED #C758ED #ED58C8
triadic
#C758ED #EDC758 #58EDC7
tetradic
#C758ED #ED7C58 #7EED58 #58C8ED
square
#C758ED #ED7C58 #7EED58 #58C8ED
split-complementary
#C758ED #C8ED58 #58ED7C
monochromatic
#8D14B7 #B421E7 #C758ED #DA8FF3 #ECC6F9

Accessibility & contrast

On white

3.47
#C758ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#C758ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C758ED
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C758ED#FFFFFF#000000##000000
##C758ED1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2283F2
Deuteranopia (green-blind)
#598DE9
Tritanopia (blue-blind)
#C5739B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c758ed;
/* rgb */ color: rgb(199, 88, 237);
/* oklch */ color: oklch(66.0% 0.228 316.4);
Tailwind
colors: {
  custom: {
    50: '#dc8ef3',
    500: '#c758ed',
    950: '#000000',
  },
}
SCSS
$custom: #c758ed;
$custom-light: #dc8ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#c758ed",
  "rgb": {
    "r": 199,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 284.698,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66038,
    "c": 0.22825,
    "h": 316.4
  },
  "luminance": 0.25236
}

Semantic roles & 50–950 ramp

primary
#C758ED
secondary
#C4EBB6
accent
#DD093F
background
#FDF9FE
surface
#FBF1FD
border
#D4CBD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C758ED

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

Preview Lab → · Contrast checker → · Palette generator →

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