#C198FA#C198FA

#C198FA is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.5% C 0.143 H 302.4°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#C198FA
RGBrgb(193, 152, 250)
HSLhsl(265, 91%, 79%)
HSVhsv(265, 39%, 98%)
CMYKcmyk(22.8%, 39.2%, 0%, 2%)
CIE-LABlab(69.96, 34.37, -43.31)
CIE-LCHlch(69.96, 55.29, 308.43°)
OKLaboklab(75.48% 0.0764 -0.1205)
OKLCHoklch(75.48% 0.143 302.4)
XYZxyz(50.4722, 40.6961, 95.6201)
Luminance0.4070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C198FA #D1FA98
analogous
#98A0FA #C198FA #F298FA
triadic
#C198FA #FAC198 #98FAC1
tetradic
#C198FA #FA98A0 #D1FA98 #98FAF2
square
#C198FA #FA98A0 #D1FA98 #98FAF2
split-complementary
#C198FA #FAF298 #A0FA98
monochromatic
#7B23F4 #9E5EF7 #C198FA #E4D2FD #EDE2FE

Accessibility & contrast

On white

2.30
#C198FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#C198FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C198FA
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C198FA#FFFFFF#000000##000000
##C198FA1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFE
Deuteranopia (green-blind)
#89ABF7
Tritanopia (blue-blind)
#B7A8BD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c198fa;
/* rgb */ color: rgb(193, 152, 250);
/* oklch */ color: oklch(75.5% 0.143 302.4);
Tailwind
colors: {
  custom: {
    50: '#d5b7fc',
    500: '#c198fa',
    950: '#000000',
  },
}
SCSS
$custom: #c198fa;
$custom-light: #d5b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c198fa",
  "rgb": {
    "r": 193,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 265.102,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75481,
    "c": 0.1427,
    "h": 302.4
  },
  "luminance": 0.40696
}

Semantic roles & 50–950 ramp

primary
#C198FA
secondary
#E8F6D5
accent
#E60085
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C198FA

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

Preview Lab → · Contrast checker → · Palette generator →

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