#C188F8#C188F8

#C188F8 is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.7% C 0.166 H 306.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#C188F8
RGBrgb(193, 136, 248)
HSLhsl(271, 89%, 75%)
HSVhsv(271, 45%, 97%)
CMYKcmyk(22.2%, 45.2%, 0%, 2.7%)
CIE-LABlab(66.31, 42.67, -47.96)
CIE-LCHlch(66.31, 64.19, 311.65°)
OKLaboklab(72.7% 0.0979 -0.1339)
OKLCHoklch(72.7% 0.166 306.2)
XYZxyz(47.7363, 35.7235, 93.1692)
Luminance0.3572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C188F8 #BFF888
analogous
#8988F8 #C188F8 #F888F7
triadic
#C188F8 #F8C188 #88F8C1
tetradic
#C188F8 #F88988 #BFF888 #88F7F8
square
#C188F8 #F88988 #BFF888 #88F7F8
split-complementary
#C188F8 #F7F888 #88F889
monochromatic
#8514F1 #A34EF5 #C188F8 #DFC2FB #F0E2FD

Accessibility & contrast

On white

2.58
#C188F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#C188F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C188F8
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C188F8#FFFFFF#000000##000000
##C188F81.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFC
Deuteranopia (green-blind)
#7AA2F5
Tritanopia (blue-blind)
#B99BB4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c188f8;
/* rgb */ color: rgb(193, 136, 248);
/* oklch */ color: oklch(72.7% 0.166 306.2);
Tailwind
colors: {
  custom: {
    50: '#d6acfb',
    500: '#c188f8',
    950: '#000000',
  },
}
SCSS
$custom: #c188f8;
$custom-light: #d6acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#c188f8",
  "rgb": {
    "r": 193,
    "g": 136,
    "b": 248
  },
  "hsl": {
    "h": 270.536,
    "s": 88.889,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72699,
    "c": 0.16591,
    "h": 306.2
  },
  "luminance": 0.35723
}

Semantic roles & 50–950 ramp

primary
#C188F8
secondary
#E5F5D6
accent
#E60071
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #C188F8

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

Preview Lab → · Contrast checker → · Palette generator →

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