#C758EF#C758EF

#C758EF is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.2% C 0.230 H 315.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#C758EF
RGBrgb(199, 88, 239)
HSLhsl(284, 83%, 64%)
HSVhsv(284, 63%, 94%)
CMYKcmyk(16.7%, 63.2%, 0%, 6.3%)
CIE-LABlab(57.42, 66.24, -57.06)
CIE-LCHlch(57.42, 87.43, 319.26°)
OKLaboklab(66.16% 0.1654 -0.16)
OKLCHoklch(66.16% 0.23 315.9)
XYZxyz(42.6205, 25.3551, 84.2936)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C758EF #80EF58
analogous
#7C58EF #C758EF #EF58CC
triadic
#C758EF #EFC758 #58EFC7
tetradic
#C758EF #EF7C58 #80EF58 #58CCEF
square
#C758EF #EF7C58 #80EF58 #58CCEF
split-complementary
#C758EF #CCEF58 #58EF7C
monochromatic
#8E12BB #B420EA #C758EF #DA90F4 #ECC8FA

Accessibility & contrast

On white

3.46
#C758EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#C758EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C758EF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C758EF#FFFFFF#000000##000000
##C758EF1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E83F4
Deuteranopia (green-blind)
#588DEB
Tritanopia (blue-blind)
#C5749C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c758ef;
/* rgb */ color: rgb(199, 88, 239);
/* oklch */ color: oklch(66.2% 0.230 315.9);
Tailwind
colors: {
  custom: {
    50: '#dc8ef5',
    500: '#c758ef',
    950: '#000000',
  },
}
SCSS
$custom: #c758ef;
$custom-light: #dc8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#c758ef",
  "rgb": {
    "r": 199,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 284.106,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66157,
    "c": 0.23012,
    "h": 315.9
  },
  "luminance": 0.25354
}

Semantic roles & 50–950 ramp

primary
#C758EF
secondary
#C5ECB7
accent
#DF0740
background
#FDF9FF
surface
#FBF1FE
border
#D4CBD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #C758EF

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

Preview Lab → · Contrast checker → · Palette generator →

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