#C098EB#C098EB

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

Color values

HEX#C098EB
RGBrgb(192, 152, 235)
HSLhsl(269, 67%, 76%)
HSVhsv(269, 35%, 92%)
CMYKcmyk(18.3%, 35.3%, 0%, 7.8%)
CIE-LABlab(69.23, 30.70, -36.27)
CIE-LCHlch(69.23, 47.52, 310.24°)
OKLaboklab(74.69% 0.0721 -0.1003)
OKLCHoklch(74.69% 0.124 305.7)
XYZxyz(47.9589, 39.6614, 83.7100)
Luminance0.3966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C098EB #C3EB98
analogous
#9899EB #C098EB #EA98EB
triadic
#C098EB #EBC098 #98EBC0
tetradic
#C098EB #EB9899 #C3EB98 #98EBEA
square
#C098EB #EB9899 #C3EB98 #98EBEA
split-complementary
#C098EB #EBEA98 #99EB98
monochromatic
#8132D7 #A165E1 #C098EB #DFCBF5 #EFE5FA

Accessibility & contrast

On white

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

On black

8.93
#C098EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C098EB
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C098EB#FFFFFF#000000##000000
##C098EB1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EE
Deuteranopia (green-blind)
#8FA9E9
Tritanopia (blue-blind)
#BAA4B7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c098eb;
/* rgb */ color: rgb(192, 152, 235);
/* oklch */ color: oklch(74.7% 0.124 305.7);
Tailwind
colors: {
  custom: {
    50: '#d4b6f1',
    500: '#c098eb',
    950: '#000000',
  },
}
SCSS
$custom: #c098eb;
$custom-light: #d4b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c098eb",
  "rgb": {
    "r": 192,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 268.916,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74691,
    "c": 0.12352,
    "h": 305.7
  },
  "luminance": 0.39661
}

Semantic roles & 50–950 ramp

primary
#C098EB
secondary
#E6F2D9
accent
#CF1676
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #C098EB

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

Preview Lab → · Contrast checker → · Palette generator →

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