#C98FF7#C98FF7

#C98FF7 is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.6% C 0.156 H 308.7°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#C98FF7
RGBrgb(201, 143, 247)
HSLhsl(273, 87%, 76%)
HSVhsv(273, 42%, 97%)
CMYKcmyk(18.6%, 42.1%, 0%, 3.1%)
CIE-LABlab(68.59, 40.88, -43.77)
CIE-LCHlch(68.59, 59.89, 313.04°)
OKLaboklab(74.58% 0.0976 -0.1216)
OKLCHoklch(74.58% 0.156 308.7)
XYZxyz(50.6952, 38.7784, 92.7920)
Luminance0.3878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98FF7 #BDF78F
analogous
#958FF7 #C98FF7 #F78FF1
triadic
#C98FF7 #F7C98F #8FF7C9
tetradic
#C98FF7 #F7958F #BDF78F #8FF1F7
square
#C98FF7 #F7958F #BDF78F #8FF1F7
split-complementary
#C98FF7 #F1F78F #8FF795
monochromatic
#921DEF #AD56F3 #C98FF7 #E5C8FB #F1E2FD

Accessibility & contrast

On white

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

On black

8.76
#C98FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98FF7
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98FF7#FFFFFF#000000##000000
##C98FF71.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FB
Deuteranopia (green-blind)
#86A8F4
Tritanopia (blue-blind)
#C39FB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c98ff7;
/* rgb */ color: rgb(201, 143, 247);
/* oklch */ color: oklch(74.6% 0.156 308.7);
Tailwind
colors: {
  custom: {
    50: '#dbb1fa',
    500: '#c98ff7',
    950: '#000000',
  },
}
SCSS
$custom: #c98ff7;
$custom-light: #dbb1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c98ff7",
  "rgb": {
    "r": 201,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 273.462,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74581,
    "c": 0.15594,
    "h": 308.7
  },
  "luminance": 0.38778
}

Semantic roles & 50–950 ramp

primary
#C98FF7
secondary
#E4F5D6
accent
#E30266
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #C98FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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