#CD92F2#CD92F2

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

Color values

HEX#CD92F2
RGBrgb(205, 146, 242)
HSLhsl(277, 79%, 76%)
HSVhsv(277, 40%, 95%)
CMYKcmyk(15.3%, 39.7%, 0%, 5.1%)
CIE-LABlab(69.43, 39.33, -39.69)
CIE-LCHlch(69.43, 55.87, 314.73°)
OKLaboklab(75.24% 0.0971 -0.1098)
OKLCHoklch(75.24% 0.147 311.5)
XYZxyz(51.4799, 39.9486, 88.9861)
Luminance0.3995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD92F2 #B7F292
analogous
#9D92F2 #CD92F2 #F292E7
triadic
#CD92F2 #F2CD92 #92F2CD
tetradic
#CD92F2 #F29D92 #B7F292 #92E7F2
square
#CD92F2 #F29D92 #B7F292 #92E7F2
split-complementary
#CD92F2 #E7F292 #92F29D
monochromatic
#9B25E5 #B45BEB #CD92F2 #E6C9F9 #F2E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD92F2#FFFFFF#000000##000000
##CD92F21.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)
#7FA7F6
Deuteranopia (green-blind)
#8EABEF
Tritanopia (blue-blind)
#C9A0B7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd92f2;
/* rgb */ color: rgb(205, 146, 242);
/* oklch */ color: oklch(75.2% 0.147 311.5);
Tailwind
colors: {
  custom: {
    50: '#ddb3f6',
    500: '#cd92f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd92f2;
$custom-light: #ddb3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd92f2",
  "rgb": {
    "r": 205,
    "g": 146,
    "b": 242
  },
  "hsl": {
    "h": 276.875,
    "s": 78.689,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75236,
    "c": 0.1466,
    "h": 311.5
  },
  "luminance": 0.39948
}

Semantic roles & 50–950 ramp

primary
#CD92F2
secondary
#E2F4D7
accent
#DB0B5B
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CD92F2

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

Preview Lab → · Contrast checker → · Palette generator →

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