#C188F9#C188F9

#C188F9 is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.8% C 0.167 H 305.9°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#C188F9
RGBrgb(193, 136, 249)
HSLhsl(270, 90%, 75%)
HSVhsv(270, 45%, 98%)
CMYKcmyk(22.5%, 45.4%, 0%, 2.4%)
CIE-LABlab(66.36, 42.89, -48.44)
CIE-LCHlch(66.36, 64.70, 311.52°)
OKLaboklab(72.75% 0.0981 -0.1353)
OKLCHoklch(72.75% 0.167 305.9)
XYZxyz(47.8919, 35.7857, 93.9885)
Luminance0.3579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C188F9 #C0F988
analogous
#8888F9 #C188F9 #F988F9
triadic
#C188F9 #F9C188 #88F9C1
tetradic
#C188F9 #F98888 #C0F988 #88F9F9
square
#C188F9 #F98888 #C0F988 #88F9F9
split-complementary
#C188F9 #F9F988 #88F988
monochromatic
#8413F3 #A34EF6 #C188F9 #DFC2FC #F0E2FE

Accessibility & contrast

On white

2.57
#C188F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#C188F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C188F9
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C188F9#FFFFFF#000000##000000
##C188F91.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFD
Deuteranopia (green-blind)
#79A2F6
Tritanopia (blue-blind)
#B89BB5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c188f9;
/* rgb */ color: rgb(193, 136, 249);
/* oklch */ color: oklch(72.8% 0.167 305.9);
Tailwind
colors: {
  custom: {
    50: '#d6acfc',
    500: '#c188f9',
    950: '#000000',
  },
}
SCSS
$custom: #c188f9;
$custom-light: #d6acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c188f9",
  "rgb": {
    "r": 193,
    "g": 136,
    "b": 249
  },
  "hsl": {
    "h": 270.265,
    "s": 90.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72751,
    "c": 0.1671,
    "h": 305.9
  },
  "luminance": 0.35785
}

Semantic roles & 50–950 ramp

primary
#C188F9
secondary
#E5F6D5
accent
#E60072
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #C188F9

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

Preview Lab → · Contrast checker → · Palette generator →

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