#C98EEF#C98EEF

#C98EEF is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.0% C 0.148 H 311.2°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#C98EEF
RGBrgb(201, 142, 239)
HSLhsl(276, 75%, 75%)
HSVhsv(276, 41%, 94%)
CMYKcmyk(15.9%, 40.6%, 0%, 6.3%)
CIE-LABlab(68.02, 39.69, -40.29)
CIE-LCHlch(68.02, 56.55, 314.57°)
OKLaboklab(74.04% 0.0976 -0.1116)
OKLCHoklch(74.04% 0.148 311.2)
XYZxyz(49.3376, 37.9963, 86.3796)
Luminance0.3800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98EEF #B4EF8E
analogous
#998EEF #C98EEF #EF8EE4
triadic
#C98EEF #EFC98E #8EEFC9
tetradic
#C98EEF #EF998E #B4EF8E #8EE4EF
square
#C98EEF #EF998E #B4EF8E #8EE4EF
split-complementary
#C98EEF #E4EF8E #8EEF99
monochromatic
#9623E0 #AF58E7 #C98EEF #E3C4F7 #F2E4FB

Accessibility & contrast

On white

2.44
#C98EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#C98EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98EEF
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98EEF#FFFFFF#000000##000000
##C98EEF1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA3F3
Deuteranopia (green-blind)
#89A7EC
Tritanopia (blue-blind)
#C59CB3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c98eef;
/* rgb */ color: rgb(201, 142, 239);
/* oklch */ color: oklch(74.0% 0.148 311.2);
Tailwind
colors: {
  custom: {
    50: '#dbb0f4',
    500: '#c98eef',
    950: '#000000',
  },
}
SCSS
$custom: #c98eef;
$custom-light: #dbb0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c98eef",
  "rgb": {
    "r": 201,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 276.495,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74035,
    "c": 0.1482,
    "h": 311.2
  },
  "luminance": 0.37996
}

Semantic roles & 50–950 ramp

primary
#C98EEF
secondary
#E3F3D8
accent
#D70E5D
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #C98EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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