#CD91F7#CD91F7

#CD91F7 is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.3% C 0.154 H 310.2°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#CD91F7
RGBrgb(205, 145, 247)
HSLhsl(275, 86%, 77%)
HSVhsv(275, 41%, 97%)
CMYKcmyk(17%, 41.3%, 0%, 3.1%)
CIE-LABlab(69.43, 40.93, -42.43)
CIE-LCHlch(69.43, 58.95, 313.97°)
OKLaboklab(75.31% 0.0995 -0.1177)
OKLCHoklch(75.31% 0.154 310.2)
XYZxyz(52.0877, 39.9461, 92.9440)
Luminance0.3995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91F7 #BBF791
analogous
#9A91F7 #CD91F7 #F791EE
triadic
#CD91F7 #F7CD91 #91F7CD
tetradic
#CD91F7 #F79A91 #BBF791 #91EEF7
square
#CD91F7 #F79A91 #BBF791 #91EEF7
split-complementary
#CD91F7 #EEF791 #91F79A
monochromatic
#991FEF #B358F3 #CD91F7 #E7CAFB #F2E2FD

Accessibility & contrast

On white

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

On black

8.99
#CD91F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91F7
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91F7#FFFFFF#000000##000000
##CD91F71.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FB
Deuteranopia (green-blind)
#8AABF4
Tritanopia (blue-blind)
#C8A0B8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd91f7;
/* rgb */ color: rgb(205, 145, 247);
/* oklch */ color: oklch(75.3% 0.154 310.2);
Tailwind
colors: {
  custom: {
    50: '#deb2fa',
    500: '#cd91f7',
    950: '#000000',
  },
}
SCSS
$custom: #cd91f7;
$custom-light: #deb2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91f7",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 247
  },
  "hsl": {
    "h": 275.294,
    "s": 86.441,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75306,
    "c": 0.15408,
    "h": 310.2
  },
  "luminance": 0.39945
}

Semantic roles & 50–950 ramp

primary
#CD91F7
secondary
#E3F5D6
accent
#E3035F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD91F7

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

Preview Lab → · Contrast checker → · Palette generator →

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