#C175EF#C175EF

#C175EF is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.3% C 0.186 H 311.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#C175EF
RGBrgb(193, 117, 239)
HSLhsl(277, 79%, 70%)
HSVhsv(277, 51%, 94%)
CMYKcmyk(19.2%, 51%, 0%, 6.3%)
CIE-LABlab(61.91, 50.78, -49.96)
CIE-LCHlch(61.91, 71.24, 315.47°)
OKLaboklab(69.28% 0.1223 -0.1397)
OKLCHoklch(69.28% 0.186 311.2)
XYZxyz(43.9308, 30.2929, 85.1775)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C175EF #A3EF75
analogous
#8475EF #C175EF #EF75E0
triadic
#C175EF #EFC175 #75EFC1
tetradic
#C175EF #EF8475 #A3EF75 #75E0EF
square
#C175EF #EF8475 #A3EF75 #75E0EF
split-complementary
#C175EF #E0EF75 #75EF84
monochromatic
#8C18D1 #A83EE9 #C175EF #DAACF5 #F2E3FC

Accessibility & contrast

On white

2.98
#C175EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#C175EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C175EF
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C175EF#FFFFFF#000000##000000
##C175EF1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#6D97EC
Tritanopia (blue-blind)
#BC89A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c175ef;
/* rgb */ color: rgb(193, 117, 239);
/* oklch */ color: oklch(69.3% 0.186 311.2);
Tailwind
colors: {
  custom: {
    50: '#d69ff5',
    500: '#c175ef',
    950: '#000000',
  },
}
SCSS
$custom: #c175ef;
$custom-light: #d69ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#c175ef",
  "rgb": {
    "r": 193,
    "g": 117,
    "b": 239
  },
  "hsl": {
    "h": 277.377,
    "s": 79.221,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69279,
    "c": 0.18567,
    "h": 311.2
  },
  "luminance": 0.30292
}

Semantic roles & 50–950 ramp

primary
#C175EF
secondary
#DCF1CF
accent
#DC0A59
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #C175EF

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

Preview Lab → · Contrast checker → · Palette generator →

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