#CD91F5#CD91F5

#CD91F5 is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.2% C 0.152 H 310.8°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#CD91F5
RGBrgb(205, 145, 245)
HSLhsl(276, 83%, 76%)
HSVhsv(276, 41%, 96%)
CMYKcmyk(16.3%, 40.8%, 0%, 3.9%)
CIE-LABlab(69.34, 40.50, -41.47)
CIE-LCHlch(69.34, 57.97, 314.32°)
OKLaboklab(75.21% 0.0991 -0.1149)
OKLCHoklch(75.21% 0.152 310.8)
XYZxyz(51.7807, 39.8233, 91.3274)
Luminance0.3982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91F5 #B9F591
analogous
#9B91F5 #CD91F5 #F591EB
triadic
#CD91F5 #F5CD91 #91F5CD
tetradic
#CD91F5 #F59B91 #B9F591 #91EBF5
square
#CD91F5 #F59B91 #B9F591 #91EBF5
split-complementary
#CD91F5 #EBF591 #91F59B
monochromatic
#9A21EB #B459F0 #CD91F5 #E7C9FA #F2E3FC

Accessibility & contrast

On white

2.34
#CD91F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#CD91F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91F5
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91F5#FFFFFF#000000##000000
##CD91F51.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA6F9
Deuteranopia (green-blind)
#8BABF2
Tritanopia (blue-blind)
#C9A0B7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd91f5;
/* rgb */ color: rgb(205, 145, 245);
/* oklch */ color: oklch(75.2% 0.152 310.8);
Tailwind
colors: {
  custom: {
    50: '#deb2f9',
    500: '#cd91f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd91f5;
$custom-light: #deb2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91f5",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 245
  },
  "hsl": {
    "h": 276,
    "s": 83.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75211,
    "c": 0.15175,
    "h": 310.8
  },
  "luminance": 0.39823
}

Semantic roles & 50–950 ramp

primary
#CD91F5
secondary
#E3F4D7
accent
#E0065D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD91F5

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

Preview Lab → · Contrast checker → · Palette generator →

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