#C098FA#C098FA

#C098FA is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.4% C 0.142 H 301.9°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#C098FA
RGBrgb(192, 152, 250)
HSLhsl(264, 91%, 79%)
HSVhsv(264, 39%, 98%)
CMYKcmyk(23.2%, 39.2%, 0%, 2%)
CIE-LABlab(69.87, 34.08, -43.47)
CIE-LCHlch(69.87, 55.24, 308.10°)
OKLaboklab(75.39% 0.0753 -0.121)
OKLCHoklch(75.39% 0.142 301.9)
XYZxyz(50.2180, 40.5650, 95.6082)
Luminance0.4057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C098FA #D2FA98
analogous
#98A1FA #C098FA #F198FA
triadic
#C098FA #FAC098 #98FAC0
tetradic
#C098FA #FA98A1 #D2FA98 #98FAF1
square
#C098FA #FA98A1 #D2FA98 #98FAF1
split-complementary
#C098FA #FAF198 #A1FA98
monochromatic
#7923F4 #9C5EF7 #C098FA #E4D2FD #EDE2FE

Accessibility & contrast

On white

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

On black

9.11
#C098FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C098FA
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C098FA#FFFFFF#000000##000000
##C098FA1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFE
Deuteranopia (green-blind)
#88AAF7
Tritanopia (blue-blind)
#B6A8BD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c098fa;
/* rgb */ color: rgb(192, 152, 250);
/* oklch */ color: oklch(75.4% 0.142 301.9);
Tailwind
colors: {
  custom: {
    50: '#d4b7fc',
    500: '#c098fa',
    950: '#000000',
  },
}
SCSS
$custom: #c098fa;
$custom-light: #d4b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c098fa",
  "rgb": {
    "r": 192,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 264.49,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75389,
    "c": 0.14247,
    "h": 301.9
  },
  "luminance": 0.40565
}

Semantic roles & 50–950 ramp

primary
#C098FA
secondary
#E8F6D5
accent
#E60088
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #C098FA

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

Preview Lab → · Contrast checker → · Palette generator →

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