#CF98EB#CF98EB

#CF98EB is a light, vivid violet. Relative luminance 0.417; OKLCH L 76.1% C 0.129 H 313.8°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#CF98EB
RGBrgb(207, 152, 235)
HSLhsl(280, 67%, 76%)
HSVhsv(280, 35%, 92%)
CMYKcmyk(11.9%, 35.3%, 0%, 7.8%)
CIE-LABlab(70.68, 35.20, -33.91)
CIE-LCHlch(70.68, 48.88, 316.07°)
OKLaboklab(76.13% 0.0894 -0.0932)
OKLCHoklch(76.13% 0.129 313.8)
XYZxyz(51.9533, 41.7210, 83.8973)
Luminance0.4172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF98EB #B4EB98
analogous
#A598EB #CF98EB #EB98DD
triadic
#CF98EB #EBCF98 #98EBCF
tetradic
#CF98EB #EBA598 #B4EB98 #98DDEB
square
#CF98EB #EBA598 #B4EB98 #98DDEB
split-complementary
#CF98EB #DDEB98 #98EBA5
monochromatic
#9F32D7 #B765E1 #CF98EB #E7CBF5 #F3E5FA

Accessibility & contrast

On white

2.25
#CF98EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#CF98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF98EB
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF98EB#FFFFFF#000000##000000
##CF98EB1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEE
Deuteranopia (green-blind)
#97AEE9
Tritanopia (blue-blind)
#CDA3B7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cf98eb;
/* rgb */ color: rgb(207, 152, 235);
/* oklch */ color: oklch(76.1% 0.129 313.8);
Tailwind
colors: {
  custom: {
    50: '#deb7f1',
    500: '#cf98eb',
    950: '#000000',
  },
}
SCSS
$custom: #cf98eb;
$custom-light: #deb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf98eb",
  "rgb": {
    "r": 207,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 279.759,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76128,
    "c": 0.12915,
    "h": 313.8
  },
  "luminance": 0.4172
}

Semantic roles & 50–950 ramp

primary
#CF98EB
secondary
#E2F2D9
accent
#CF1655
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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