#C198EA#C198EA

#C198EA is a light, vivid violet. Relative luminance 0.397; OKLCH L 74.7% C 0.123 H 306.6°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#C198EA
RGBrgb(193, 152, 234)
HSLhsl(270, 66%, 76%)
HSVhsv(270, 35%, 92%)
CMYKcmyk(17.5%, 35%, 0%, 8.2%)
CIE-LABlab(69.28, 30.78, -35.64)
CIE-LCHlch(69.28, 47.09, 310.81°)
OKLaboklab(74.74% 0.0731 -0.0984)
OKLCHoklch(74.74% 0.123 306.6)
XYZxyz(48.0690, 39.7348, 82.9632)
Luminance0.3973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C198EA #C1EA98
analogous
#9898EA #C198EA #EA98EA
triadic
#C198EA #EAC198 #98EAC1
tetradic
#C198EA #EA9898 #C1EA98 #98EAEA
square
#C198EA #EA9898 #C1EA98 #98EAEA
split-complementary
#C198EA #EAEA98 #98EA98
monochromatic
#8432D5 #A265E0 #C198EA #E0CBF4 #F0E6FA

Accessibility & contrast

On white

2.35
#C198EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#C198EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C198EA
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C198EA#FFFFFF#000000##000000
##C198EA1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8ED
Deuteranopia (green-blind)
#90AAE8
Tritanopia (blue-blind)
#BBA4B6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c198ea;
/* rgb */ color: rgb(193, 152, 234);
/* oklch */ color: oklch(74.7% 0.123 306.6);
Tailwind
colors: {
  custom: {
    50: '#d5b6f1',
    500: '#c198ea',
    950: '#000000',
  },
}
SCSS
$custom: #c198ea;
$custom-light: #d5b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c198ea",
  "rgb": {
    "r": 193,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 270,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74739,
    "c": 0.12258,
    "h": 306.6
  },
  "luminance": 0.39734
}

Semantic roles & 50–950 ramp

primary
#C198EA
secondary
#E6F1DA
accent
#CE1873
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #C198EA

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

Preview Lab → · Contrast checker → · Palette generator →

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