#C175F6#C175F6

#C175F6 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.7% C 0.193 H 309.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#C175F6
RGBrgb(193, 117, 246)
HSLhsl(275, 88%, 71%)
HSVhsv(275, 52%, 96%)
CMYKcmyk(21.5%, 52.4%, 0%, 3.5%)
CIE-LABlab(62.27, 52.30, -53.26)
CIE-LCHlch(62.27, 74.65, 314.48°)
OKLaboklab(69.66% 0.1229 -0.1493)
OKLCHoklch(69.66% 0.193 309.5)
XYZxyz(44.9850, 30.7146, 90.7296)
Luminance0.3071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C175F6 #AAF675
analogous
#8075F6 #C175F6 #F675EA
triadic
#C175F6 #F6C175 #75F6C1
tetradic
#C175F6 #F68075 #AAF675 #75EAF6
square
#C175F6 #F68075 #AAF675 #75EAF6
split-complementary
#C175F6 #EAF675 #75F680
monochromatic
#8B0FE2 #A73CF2 #C175F6 #DBAEFA #F2E2FD

Accessibility & contrast

On white

2.94
#C175F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#C175F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C175F6
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C175F6#FFFFFF#000000##000000
##C175F61.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093FA
Deuteranopia (green-blind)
#6898F3
Tritanopia (blue-blind)
#BA8BAB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c175f6;
/* rgb */ color: rgb(193, 117, 246);
/* oklch */ color: oklch(69.7% 0.193 309.5);
Tailwind
colors: {
  custom: {
    50: '#d69ffa',
    500: '#c175f6',
    950: '#000000',
  },
}
SCSS
$custom: #c175f6;
$custom-light: #d69ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#c175f6",
  "rgb": {
    "r": 193,
    "g": 117,
    "b": 246
  },
  "hsl": {
    "h": 275.349,
    "s": 87.755,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69662,
    "c": 0.19337,
    "h": 309.5
  },
  "luminance": 0.30714
}

Semantic roles & 50–950 ramp

primary
#C175F6
secondary
#E0F4D2
accent
#E4015E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C175F6

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

Preview Lab → · Contrast checker → · Palette generator →

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