#C175F2#C175F2

#C175F2 is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.4% C 0.189 H 310.5°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#C175F2
RGBrgb(193, 117, 242)
HSLhsl(276, 83%, 70%)
HSVhsv(276, 52%, 95%)
CMYKcmyk(20.2%, 51.7%, 0%, 5.1%)
CIE-LABlab(62.06, 51.43, -51.38)
CIE-LCHlch(62.06, 72.70, 315.03°)
OKLaboklab(69.44% 0.1226 -0.1438)
OKLCHoklch(69.44% 0.189 310.5)
XYZxyz(44.3777, 30.4717, 87.5310)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C175F2 #A6F275
analogous
#8275F2 #C175F2 #F275E4
triadic
#C175F2 #F2C175 #75F2C1
tetradic
#C175F2 #F28275 #A6F275 #75E4F2
square
#C175F2 #F28275 #A6F275 #75E4F2
split-complementary
#C175F2 #E4F275 #75F282
monochromatic
#8B14D8 #A83DED #C175F2 #DAADF7 #F2E3FC

Accessibility & contrast

On white

2.96
#C175F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#C175F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C175F2
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C175F2#FFFFFF#000000##000000
##C175F21.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#6B97EF
Tritanopia (blue-blind)
#BB8AA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #c175f2;
/* rgb */ color: rgb(193, 117, 242);
/* oklch */ color: oklch(69.4% 0.189 310.5);
Tailwind
colors: {
  custom: {
    50: '#d69ff7',
    500: '#c175f2',
    950: '#000000',
  },
}
SCSS
$custom: #c175f2;
$custom-light: #d69ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#c175f2",
  "rgb": {
    "r": 193,
    "g": 117,
    "b": 242
  },
  "hsl": {
    "h": 276.48,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69442,
    "c": 0.18896,
    "h": 310.5
  },
  "luminance": 0.30471
}

Semantic roles & 50–950 ramp

primary
#C175F2
secondary
#DEF3D0
accent
#DF065B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #C175F2

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

Preview Lab → · Contrast checker → · Palette generator →

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