#C98FF6#C98FF6

#C98FF6 is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.5% C 0.155 H 309.0°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#C98FF6
RGBrgb(201, 143, 246)
HSLhsl(274, 85%, 76%)
HSVhsv(274, 42%, 96%)
CMYKcmyk(18.3%, 41.9%, 0%, 3.5%)
CIE-LABlab(68.55, 40.66, -43.30)
CIE-LCHlch(68.55, 59.39, 313.20°)
OKLaboklab(74.53% 0.0974 -0.1202)
OKLCHoklch(74.53% 0.155 309)
XYZxyz(50.5413, 38.7169, 91.9815)
Luminance0.3872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98FF6 #BCF68F
analogous
#968FF6 #C98FF6 #F68FF0
triadic
#C98FF6 #F6C98F #8FF6C9
tetradic
#C98FF6 #F6968F #BCF68F #8FF0F6
square
#C98FF6 #F6968F #BCF68F #8FF0F6
split-complementary
#C98FF6 #F0F68F #8FF696
monochromatic
#921EED #AE56F1 #C98FF6 #E4C8FB #F1E3FD

Accessibility & contrast

On white

2.40
#C98FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#C98FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98FF6
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98FF6#FFFFFF#000000##000000
##C98FF61.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FA
Deuteranopia (green-blind)
#87A8F3
Tritanopia (blue-blind)
#C39FB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c98ff6;
/* rgb */ color: rgb(201, 143, 246);
/* oklch */ color: oklch(74.5% 0.155 309.0);
Tailwind
colors: {
  custom: {
    50: '#dbb1f9',
    500: '#c98ff6',
    950: '#000000',
  },
}
SCSS
$custom: #c98ff6;
$custom-light: #dbb1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c98ff6",
  "rgb": {
    "r": 201,
    "g": 143,
    "b": 246
  },
  "hsl": {
    "h": 273.786,
    "s": 85.124,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74533,
    "c": 0.15476,
    "h": 309
  },
  "luminance": 0.38716
}

Semantic roles & 50–950 ramp

primary
#C98FF6
secondary
#E4F5D6
accent
#E20465
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #C98FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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