#CD92F8#CD92F8

#CD92F8 is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.5% C 0.154 H 309.8°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#CD92F8
RGBrgb(205, 146, 248)
HSLhsl(275, 88%, 77%)
HSVhsv(275, 41%, 97%)
CMYKcmyk(17.3%, 41.1%, 0%, 2.7%)
CIE-LABlab(69.69, 40.61, -42.56)
CIE-LCHlch(69.69, 58.83, 313.65°)
OKLaboklab(75.52% 0.0983 -0.1181)
OKLCHoklch(75.52% 0.154 309.8)
XYZxyz(52.3959, 40.3149, 93.8101)
Luminance0.4031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD92F8 #BDF892
analogous
#9A92F8 #CD92F8 #F892F0
triadic
#CD92F8 #F8CD92 #92F8CD
tetradic
#CD92F8 #F89A92 #BDF892 #92F0F8
square
#CD92F8 #F89A92 #BDF892 #92F0F8
split-complementary
#CD92F8 #F0F892 #92F89A
monochromatic
#981FF1 #B358F4 #CD92F8 #E7CCFC #F2E2FD

Accessibility & contrast

On white

2.32
#CD92F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#CD92F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD92F8
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD92F8#FFFFFF#000000##000000
##CD92F81.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FC
Deuteranopia (green-blind)
#8BABF5
Tritanopia (blue-blind)
#C8A1B9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cd92f8;
/* rgb */ color: rgb(205, 146, 248);
/* oklch */ color: oklch(75.5% 0.154 309.8);
Tailwind
colors: {
  custom: {
    50: '#deb3fb',
    500: '#cd92f8',
    950: '#000000',
  },
}
SCSS
$custom: #cd92f8;
$custom-light: #deb3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd92f8",
  "rgb": {
    "r": 205,
    "g": 146,
    "b": 248
  },
  "hsl": {
    "h": 274.706,
    "s": 87.931,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75517,
    "c": 0.15361,
    "h": 309.8
  },
  "luminance": 0.40314
}

Semantic roles & 50–950 ramp

primary
#CD92F8
secondary
#E3F5D6
accent
#E50161
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD92F8

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

Preview Lab → · Contrast checker → · Palette generator →

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