#C175F5#C175F5

#C175F5 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.6% C 0.192 H 309.7°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#C175F5
RGBrgb(193, 117, 245)
HSLhsl(276, 86%, 71%)
HSVhsv(276, 52%, 96%)
CMYKcmyk(21.2%, 52.2%, 0%, 3.9%)
CIE-LABlab(62.21, 52.08, -52.79)
CIE-LCHlch(62.21, 74.16, 314.61°)
OKLaboklab(69.61% 0.1228 -0.1479)
OKLCHoklch(69.61% 0.192 309.7)
XYZxyz(44.8319, 30.6534, 89.9235)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C175F5 #A9F575
analogous
#8175F5 #C175F5 #F575E9
triadic
#C175F5 #F5C175 #75F5C1
tetradic
#C175F5 #F58175 #A9F575 #75E9F5
square
#C175F5 #F58175 #A9F575 #75E9F5
split-complementary
#C175F5 #E9F575 #75F581
monochromatic
#8B10DF #A73CF1 #C175F5 #DBAEF9 #F2E2FD

Accessibility & contrast

On white

2.95
#C175F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#C175F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C175F5
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C175F5#FFFFFF#000000##000000
##C175F51.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5193F9
Deuteranopia (green-blind)
#6998F2
Tritanopia (blue-blind)
#BA8BAA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c175f5;
/* rgb */ color: rgb(193, 117, 245);
/* oklch */ color: oklch(69.6% 0.192 309.7);
Tailwind
colors: {
  custom: {
    50: '#d69ff9',
    500: '#c175f5',
    950: '#000000',
  },
}
SCSS
$custom: #c175f5;
$custom-light: #d69ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#c175f5",
  "rgb": {
    "r": 193,
    "g": 117,
    "b": 245
  },
  "hsl": {
    "h": 275.625,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69607,
    "c": 0.19227,
    "h": 309.7
  },
  "luminance": 0.30653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C175F5

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

Preview Lab → · Contrast checker → · Palette generator →

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