#C163F2#C163F2

#C163F2 is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 67.0% C 0.216 H 312.3°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#C163F2
RGBrgb(193, 99, 242)
HSLhsl(279, 85%, 67%)
HSVhsv(279, 59%, 95%)
CMYKcmyk(20.2%, 59.1%, 0%, 5.1%)
CIE-LABlab(58.67, 60.42, -56.77)
CIE-LCHlch(58.67, 82.91, 316.78°)
OKLaboklab(66.96% 0.1453 -0.1595)
OKLCHoklch(66.96% 0.216 312.3)
XYZxyz(42.4783, 26.6730, 86.8979)
Luminance0.2667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C163F2 #94F263
analogous
#7A63F2 #C163F2 #F263DB
triadic
#C163F2 #F2C163 #63F2C1
tetradic
#C163F2 #F27A63 #94F263 #63DBF2
square
#C163F2 #F27A63 #94F263 #63DBF2
split-complementary
#C163F2 #DBF263 #63F27A
monochromatic
#8A11CA #AB2BED #C163F2 #D79BF7 #EED4FB

Accessibility & contrast

On white

3.32
#C163F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#C163F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C163F2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C163F2#FFFFFF#000000##000000
##C163F21.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3188F7
Deuteranopia (green-blind)
#598FEF
Tritanopia (blue-blind)
#BC7DA1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c163f2;
/* rgb */ color: rgb(193, 99, 242);
/* oklch */ color: oklch(67.0% 0.216 312.3);
Tailwind
colors: {
  custom: {
    50: '#d794f7',
    500: '#c163f2',
    950: '#000000',
  },
}
SCSS
$custom: #c163f2;
$custom-light: #d794f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c163f2",
  "rgb": {
    "r": 193,
    "g": 99,
    "b": 242
  },
  "hsl": {
    "h": 279.441,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66956,
    "c": 0.21572,
    "h": 312.3
  },
  "luminance": 0.26672
}

Semantic roles & 50–950 ramp

primary
#C163F2
secondary
#D1EFC2
accent
#E10450
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C163F2

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

Preview Lab → · Contrast checker → · Palette generator →

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