#C98FF2#C98FF2

#C98FF2 is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.3% C 0.150 H 310.1°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#C98FF2
RGBrgb(201, 143, 242)
HSLhsl(275, 79%, 75%)
HSVhsv(275, 41%, 95%)
CMYKcmyk(16.9%, 40.9%, 0%, 5.1%)
CIE-LABlab(68.37, 39.79, -41.38)
CIE-LCHlch(68.37, 57.41, 313.88°)
OKLaboklab(74.34% 0.0967 -0.1147)
OKLCHoklch(74.34% 0.15 310.1)
XYZxyz(49.9340, 38.4740, 88.7829)
Luminance0.3847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98FF2 #B8F28F
analogous
#978FF2 #C98FF2 #F28FE9
triadic
#C98FF2 #F2C98F #8FF2C9
tetradic
#C98FF2 #F2978F #B8F28F #8FE9F2
square
#C98FF2 #F2978F #B8F28F #8FE9F2
split-complementary
#C98FF2 #E9F28F #8FF297
monochromatic
#9421E5 #AF58EC #C98FF2 #E3C6F8 #F2E4FC

Accessibility & contrast

On white

2.42
#C98FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#C98FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98FF2
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98FF2#FFFFFF#000000##000000
##C98FF21.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA4F6
Deuteranopia (green-blind)
#89A8EF
Tritanopia (blue-blind)
#C49EB5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c98ff2;
/* rgb */ color: rgb(201, 143, 242);
/* oklch */ color: oklch(74.3% 0.150 310.1);
Tailwind
colors: {
  custom: {
    50: '#dbb1f6',
    500: '#c98ff2',
    950: '#000000',
  },
}
SCSS
$custom: #c98ff2;
$custom-light: #dbb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c98ff2",
  "rgb": {
    "r": 201,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 275.152,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74342,
    "c": 0.15005,
    "h": 310.1
  },
  "luminance": 0.38473
}

Semantic roles & 50–950 ramp

primary
#C98FF2
secondary
#E3F4D7
accent
#DB0A61
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151117
muted
#838085

Preview Lab

Preview with #C98FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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