#C98EFB#C98EFB

#C98EFB is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.6% C 0.162 H 307.9°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#C98EFB
RGBrgb(201, 142, 251)
HSLhsl(272, 93%, 77%)
HSVhsv(272, 43%, 98%)
CMYKcmyk(19.9%, 43.4%, 0%, 1.6%)
CIE-LABlab(68.55, 42.29, -46.01)
CIE-LCHlch(68.55, 62.50, 312.59°)
OKLaboklab(74.61% 0.0996 -0.1281)
OKLCHoklch(74.61% 0.162 307.9)
XYZxyz(51.1696, 38.7291, 96.0279)
Luminance0.3873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98EFB #C0FB8E
analogous
#938EFB #C98EFB #FB8EF6
triadic
#C98EFB #FBC98E #8EFBC9
tetradic
#C98EFB #FB938E #C0FB8E #8EF6FB
square
#C98EFB #FB938E #C0FB8E #8EF6FB
split-complementary
#C98EFB #F6FB8E #8EFB93
monochromatic
#9118F7 #AD53F9 #C98EFB #E5C9FD #F1E1FE

Accessibility & contrast

On white

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

On black

8.75
#C98EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98EFB
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98EFB#FFFFFF#000000##000000
##C98EFB1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A5FF
Deuteranopia (green-blind)
#83A8F8
Tritanopia (blue-blind)
#C29FB9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c98efb;
/* rgb */ color: rgb(201, 142, 251);
/* oklch */ color: oklch(74.6% 0.162 307.9);
Tailwind
colors: {
  custom: {
    50: '#dbb0fd',
    500: '#c98efb',
    950: '#000000',
  },
}
SCSS
$custom: #c98efb;
$custom-light: #dbb0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c98efb",
  "rgb": {
    "r": 201,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 272.477,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74614,
    "c": 0.16228,
    "h": 307.9
  },
  "luminance": 0.38729
}

Semantic roles & 50–950 ramp

primary
#C98EFB
secondary
#E4F6D5
accent
#E60069
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #C98EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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