#C188F3#C188F3

#C188F3 is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.4% C 0.160 H 307.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#C188F3
RGBrgb(193, 136, 243)
HSLhsl(272, 82%, 74%)
HSVhsv(272, 44%, 95%)
CMYKcmyk(20.6%, 44%, 0%, 4.7%)
CIE-LABlab(66.07, 41.55, -45.59)
CIE-LCHlch(66.07, 61.68, 312.34°)
OKLaboklab(72.45% 0.0972 -0.127)
OKLCHoklch(72.45% 0.16 307.4)
XYZxyz(46.9710, 35.4173, 89.1384)
Luminance0.3542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C188F3 #BAF388
analogous
#8C88F3 #C188F3 #F388EF
triadic
#C188F3 #F3C188 #88F3C1
tetradic
#C188F3 #F38C88 #BAF388 #88EFF3
square
#C188F3 #F38C88 #BAF388 #88EFF3
split-complementary
#C188F3 #EFF388 #88F38C
monochromatic
#8719E8 #A450ED #C188F3 #DEC0F9 #F1E3FC

Accessibility & contrast

On white

2.60
#C188F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#C188F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C188F3
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C188F3#FFFFFF#000000##000000
##C188F31.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF7
Deuteranopia (green-blind)
#7DA1F0
Tritanopia (blue-blind)
#BA99B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c188f3;
/* rgb */ color: rgb(193, 136, 243);
/* oklch */ color: oklch(72.4% 0.160 307.4);
Tailwind
colors: {
  custom: {
    50: '#d5acf7',
    500: '#c188f3',
    950: '#000000',
  },
}
SCSS
$custom: #c188f3;
$custom-light: #d5acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#c188f3",
  "rgb": {
    "r": 193,
    "g": 136,
    "b": 243
  },
  "hsl": {
    "h": 271.963,
    "s": 81.679,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72446,
    "c": 0.15996,
    "h": 307.4
  },
  "luminance": 0.35417
}

Semantic roles & 50–950 ramp

primary
#C188F3
secondary
#E5F4D7
accent
#DE076C
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #C188F3

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

Preview Lab → · Contrast checker → · Palette generator →

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