#C098FD#C098FD

#C098FD is a light, vivid violet. Relative luminance 0.408; OKLCH L 75.5% C 0.146 H 301.2°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#C098FD
RGBrgb(192, 152, 253)
HSLhsl(264, 96%, 79%)
HSVhsv(264, 40%, 99%)
CMYKcmyk(24.1%, 39.9%, 0%, 0.8%)
CIE-LABlab(70.00, 34.78, -44.89)
CIE-LCHlch(70.00, 56.78, 307.77°)
OKLaboklab(75.53% 0.0758 -0.1251)
OKLCHoklch(75.53% 0.146 301.2)
XYZxyz(50.6922, 40.7547, 98.1053)
Luminance0.4076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C098FD #D5FD98
analogous
#98A3FD #C098FD #F298FD
triadic
#C098FD #FDC098 #98FDC0
tetradic
#C098FD #FD98A3 #D5FD98 #98FDF2
square
#C098FD #FD98A3 #D5FD98 #98FDF2
split-complementary
#C098FD #FDF298 #A3FD98
monochromatic
#7720FB #9B5CFC #C098FD #E5D4FE #EDE1FE

Accessibility & contrast

On white

2.29
#C098FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#C098FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C098FD
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C098FD#FFFFFF#000000##000000
##C098FD1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EABFF
Deuteranopia (green-blind)
#86ABFA
Tritanopia (blue-blind)
#B5A9BF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c098fd;
/* rgb */ color: rgb(192, 152, 253);
/* oklch */ color: oklch(75.5% 0.146 301.2);
Tailwind
colors: {
  custom: {
    50: '#d5b7fe',
    500: '#c098fd',
    950: '#000000',
  },
}
SCSS
$custom: #c098fd;
$custom-light: #d5b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c098fd",
  "rgb": {
    "r": 192,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 263.762,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.75534,
    "c": 0.14628,
    "h": 301.2
  },
  "luminance": 0.40755
}

Semantic roles & 50–950 ramp

primary
#C098FD
secondary
#E9F7D4
accent
#E6008B
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #C098FD

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

Preview Lab → · Contrast checker → · Palette generator →

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