#C174FB#C174FB

#C174FB is a light, highly saturated violet. Relative luminance 0.308; OKLCH L 69.8% C 0.200 H 308.4°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#C174FB
RGBrgb(193, 116, 251)
HSLhsl(274, 94%, 72%)
HSVhsv(274, 54%, 98%)
CMYKcmyk(23.1%, 53.8%, 0%, 1.6%)
CIE-LABlab(62.33, 53.91, -55.91)
CIE-LCHlch(62.33, 77.67, 313.96°)
OKLaboklab(69.8% 0.1245 -0.157)
OKLCHoklch(69.8% 0.2 308.4)
XYZxyz(45.6469, 30.7939, 94.7872)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C174FB #AEFB74
analogous
#7E74FB #C174FB #FB74F2
triadic
#C174FB #FBC174 #74FBC1
tetradic
#C174FB #FB7E74 #AEFB74 #74F2FB
square
#C174FB #FB7E74 #AEFB74 #74F2FB
split-complementary
#C174FB #F2FB74 #74FB7E
monochromatic
#8B07EE #A639F9 #C174FB #DCAFFD #F2E1FE

Accessibility & contrast

On white

2.93
#C174FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#C174FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C174FB
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C174FB#FFFFFF#000000##000000
##C174FB1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#6498F8
Tritanopia (blue-blind)
#B98CAD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c174fb;
/* rgb */ color: rgb(193, 116, 251);
/* oklch */ color: oklch(69.8% 0.200 308.4);
Tailwind
colors: {
  custom: {
    50: '#d79ffd',
    500: '#c174fb',
    950: '#000000',
  },
}
SCSS
$custom: #c174fb;
$custom-light: #d79ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#c174fb",
  "rgb": {
    "r": 193,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 274.222,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69797,
    "c": 0.20038,
    "h": 308.4
  },
  "luminance": 0.30793
}

Semantic roles & 50–950 ramp

primary
#C174FB
secondary
#E3F6D4
accent
#E60063
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86

Preview Lab

Preview with #C174FB

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

Preview Lab → · Contrast checker → · Palette generator →

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