#C98FEE#C98FEE

#C98FEE is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.2% C 0.145 H 311.3°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#C98FEE
RGBrgb(201, 143, 238)
HSLhsl(277, 74%, 75%)
HSVhsv(277, 40%, 93%)
CMYKcmyk(15.5%, 39.9%, 0%, 6.7%)
CIE-LABlab(68.19, 38.94, -39.46)
CIE-LCHlch(68.19, 55.44, 314.62°)
OKLaboklab(74.15% 0.0959 -0.1092)
OKLCHoklch(74.15% 0.145 311.3)
XYZxyz(49.3398, 38.2363, 85.6535)
Luminance0.3824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98FEE #B4EE8F
analogous
#9A8FEE #C98FEE #EE8FE3
triadic
#C98FEE #EEC98F #8FEEC9
tetradic
#C98FEE #EE9A8F #B4EE8F #8FE3EE
square
#C98FEE #EE9A8F #B4EE8F #8FE3EE
split-complementary
#C98FEE #E3EE8F #8FEE9A
monochromatic
#9625DE #AF5AE6 #C98FEE #E3C4F6 #F2E4FB

Accessibility & contrast

On white

2.43
#C98FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#C98FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98FEE
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98FEE#FFFFFF#000000##000000
##C98FEE1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F2
Deuteranopia (green-blind)
#8AA7EB
Tritanopia (blue-blind)
#C59DB3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c98fee;
/* rgb */ color: rgb(201, 143, 238);
/* oklch */ color: oklch(74.2% 0.145 311.3);
Tailwind
colors: {
  custom: {
    50: '#dbb1f4',
    500: '#c98fee',
    950: '#000000',
  },
}
SCSS
$custom: #c98fee;
$custom-light: #dbb1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c98fee",
  "rgb": {
    "r": 201,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 276.632,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74153,
    "c": 0.14537,
    "h": 311.3
  },
  "luminance": 0.38235
}

Semantic roles & 50–950 ramp

primary
#C98FEE
secondary
#E3F3D8
accent
#D6105D
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #C98FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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