#C175EC#C175EC

#C175EC is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.1% C 0.182 H 312.0°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#C175EC
RGBrgb(193, 117, 236)
HSLhsl(278, 76%, 69%)
HSVhsv(278, 50%, 93%)
CMYKcmyk(18.2%, 50.4%, 0%, 7.5%)
CIE-LABlab(61.76, 50.14, -48.54)
CIE-LCHlch(61.76, 69.79, 315.93°)
OKLaboklab(69.12% 0.1221 -0.1355)
OKLCHoklch(69.12% 0.182 312)
XYZxyz(43.4913, 30.1171, 82.8627)
Luminance0.3012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C175EC #A0EC75
analogous
#8675EC #C175EC #EC75DC
triadic
#C175EC #ECC175 #75ECC1
tetradic
#C175EC #EC8675 #A0EC75 #75DCEC
square
#C175EC #EC8675 #A0EC75 #75DCEC
split-complementary
#C175EC #DCEC75 #75EC86
monochromatic
#8C1CCB #A93FE5 #C175EC #D9ABF3 #F1E1FB

Accessibility & contrast

On white

2.99
#C175EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#C175EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C175EC
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C175EC#FFFFFF#000000##000000
##C175EC1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891F0
Deuteranopia (green-blind)
#6F97E9
Tritanopia (blue-blind)
#BD88A6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c175ec;
/* rgb */ color: rgb(193, 117, 236);
/* oklch */ color: oklch(69.1% 0.182 312.0);
Tailwind
colors: {
  custom: {
    50: '#d69ff2',
    500: '#c175ec',
    950: '#000000',
  },
}
SCSS
$custom: #c175ec;
$custom-light: #d69ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#c175ec",
  "rgb": {
    "r": 193,
    "g": 117,
    "b": 236
  },
  "hsl": {
    "h": 278.319,
    "s": 75.796,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69118,
    "c": 0.18238,
    "h": 312
  },
  "luminance": 0.30116
}

Semantic roles & 50–950 ramp

primary
#C175EC
secondary
#DAF0CD
accent
#D80E57
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #C175EC

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

Preview Lab → · Contrast checker → · Palette generator →

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