#C758F2#C758F2

#C758F2 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.3% C 0.233 H 315.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#C758F2
RGBrgb(199, 88, 242)
HSLhsl(283, 86%, 65%)
HSVhsv(283, 64%, 95%)
CMYKcmyk(17.8%, 63.6%, 0%, 5.1%)
CIE-LABlab(57.59, 66.83, -58.45)
CIE-LCHlch(57.59, 88.79, 318.83°)
OKLaboklab(66.34% 0.1653 -0.1641)
OKLCHoklch(66.34% 0.233 315.2)
XYZxyz(43.0674, 25.5338, 86.6471)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C758F2 #83F258
analogous
#7A58F2 #C758F2 #F258D0
triadic
#C758F2 #F2C758 #58F2C7
tetradic
#C758F2 #F27A58 #83F258 #58D0F2
square
#C758F2 #F27A58 #83F258 #58D0F2
split-complementary
#C758F2 #D0F258 #58F27A
monochromatic
#8F0FC1 #B41FEE #C758F2 #DA91F6 #EDCAFB

Accessibility & contrast

On white

3.44
#C758F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#C758F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C758F2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C758F2#FFFFFF#000000##000000
##C758F21.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1684F7
Deuteranopia (green-blind)
#558DEE
Tritanopia (blue-blind)
#C4759E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c758f2;
/* rgb */ color: rgb(199, 88, 242);
/* oklch */ color: oklch(66.3% 0.233 315.2);
Tailwind
colors: {
  custom: {
    50: '#dc8ef7',
    500: '#c758f2',
    950: '#000000',
  },
}
SCSS
$custom: #c758f2;
$custom-light: #dc8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#c758f2",
  "rgb": {
    "r": 199,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 283.247,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66336,
    "c": 0.23293,
    "h": 315.2
  },
  "luminance": 0.25532
}

Semantic roles & 50–950 ramp

primary
#C758F2
secondary
#C7EDB8
accent
#E20342
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C758F2

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

Preview Lab → · Contrast checker → · Palette generator →

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