#C098EA#C098EA

#C098EA is a light, vivid violet. Relative luminance 0.396; OKLCH L 74.6% C 0.122 H 306.0°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#C098EA
RGBrgb(192, 152, 234)
HSLhsl(269, 66%, 76%)
HSVhsv(269, 35%, 92%)
CMYKcmyk(17.9%, 35%, 0%, 8.2%)
CIE-LABlab(69.19, 30.48, -35.79)
CIE-LCHlch(69.19, 47.01, 310.42°)
OKLaboklab(74.65% 0.0719 -0.0989)
OKLCHoklch(74.65% 0.122 306)
XYZxyz(47.8148, 39.6037, 82.9513)
Luminance0.3960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C098EA #C2EA98
analogous
#9899EA #C098EA #E998EA
triadic
#C098EA #EAC098 #98EAC0
tetradic
#C098EA #EA9899 #C2EA98 #98EAE9
square
#C098EA #EA9899 #C2EA98 #98EAE9
split-complementary
#C098EA #EAE998 #99EA98
monochromatic
#8232D5 #A165E0 #C098EA #DFCBF4 #EFE6FA

Accessibility & contrast

On white

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

On black

8.92
#C098EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C098EA
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C098EA#FFFFFF#000000##000000
##C098EA1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A7ED
Deuteranopia (green-blind)
#8FA9E8
Tritanopia (blue-blind)
#BAA4B6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c098ea;
/* rgb */ color: rgb(192, 152, 234);
/* oklch */ color: oklch(74.6% 0.122 306.0);
Tailwind
colors: {
  custom: {
    50: '#d4b6f1',
    500: '#c098ea',
    950: '#000000',
  },
}
SCSS
$custom: #c098ea;
$custom-light: #d4b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c098ea",
  "rgb": {
    "r": 192,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 269.268,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74646,
    "c": 0.12227,
    "h": 306
  },
  "luminance": 0.39603
}

Semantic roles & 50–950 ramp

primary
#C098EA
secondary
#E6F1DA
accent
#CE1875
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #C098EA

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

Preview Lab → · Contrast checker → · Palette generator →

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