#CD91F2#CD91F2

#CD91F2 is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.1% C 0.148 H 311.7°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#CD91F2
RGBrgb(205, 145, 242)
HSLhsl(277, 79%, 76%)
HSVhsv(277, 40%, 95%)
CMYKcmyk(15.3%, 40.1%, 0%, 5.1%)
CIE-LABlab(69.21, 39.87, -40.03)
CIE-LCHlch(69.21, 56.50, 314.88°)
OKLaboklab(75.07% 0.0985 -0.1108)
OKLCHoklch(75.07% 0.148 311.7)
XYZxyz(51.3265, 39.6416, 88.9349)
Luminance0.3964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91F2 #B6F291
analogous
#9C91F2 #CD91F2 #F291E7
triadic
#CD91F2 #F2CD91 #91F2CD
tetradic
#CD91F2 #F29C91 #B6F291 #91E7F2
square
#CD91F2 #F29C91 #B6F291 #91E7F2
split-complementary
#CD91F2 #E7F291 #91F29C
monochromatic
#9B24E5 #B45AEC #CD91F2 #E6C8F8 #F3E4FC

Accessibility & contrast

On white

2.35
#CD91F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#CD91F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91F2
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91F2#FFFFFF#000000##000000
##CD91F21.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F6
Deuteranopia (green-blind)
#8DAAEF
Tritanopia (blue-blind)
#C99FB6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd91f2;
/* rgb */ color: rgb(205, 145, 242);
/* oklch */ color: oklch(75.1% 0.148 311.7);
Tailwind
colors: {
  custom: {
    50: '#deb2f6',
    500: '#cd91f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd91f2;
$custom-light: #deb2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91f2",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 277.113,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75071,
    "c": 0.14826,
    "h": 311.7
  },
  "luminance": 0.39641
}

Semantic roles & 50–950 ramp

primary
#CD91F2
secondary
#E2F4D7
accent
#DB0A5A
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CD91F2

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

Preview Lab → · Contrast checker → · Palette generator →

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