#C05DFE#C05DFE

#C05DFE is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.8% C 0.236 H 309.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#C05DFE
RGBrgb(192, 93, 254)
HSLhsl(277, 99%, 68%)
HSVhsv(277, 63%, 100%)
CMYKcmyk(24.4%, 63.4%, 0%, 0.4%)
CIE-LABlab(58.22, 65.52, -64.15)
CIE-LCHlch(58.22, 91.70, 315.61°)
OKLaboklab(66.83% 0.1507 -0.1811)
OKLCHoklch(66.83% 0.236 309.8)
XYZxyz(43.5385, 26.1918, 96.5087)
Luminance0.2619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C05DFE #9BFE5D
analogous
#6F5DFE #C05DFE #FE5DEC
triadic
#C05DFE #FEC05D #5DFEC0
tetradic
#C05DFE #FE6F5D #9BFE5D #5DECFE
square
#C05DFE #FE6F5D #9BFE5D #5DECFE
split-complementary
#C05DFE #ECFE5D #5DFE6F
monochromatic
#8A01DF #A820FE #C05DFE #D89AFE #EFD7FF

Accessibility & contrast

On white

3.37
#C05DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#C05DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C05DFE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C05DFE#FFFFFF#000000##000000
##C05DFE1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#468DFA
Tritanopia (blue-blind)
#B77DA6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c05dfe;
/* rgb */ color: rgb(192, 93, 254);
/* oklch */ color: oklch(66.8% 0.236 309.8);
Tailwind
colors: {
  custom: {
    50: '#d791ff',
    500: '#c05dfe',
    950: '#000000',
  },
}
SCSS
$custom: #c05dfe;
$custom-light: #d791ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c05dfe",
  "rgb": {
    "r": 192,
    "g": 93,
    "b": 254
  },
  "hsl": {
    "h": 276.894,
    "s": 98.773,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66827,
    "c": 0.2356,
    "h": 309.8
  },
  "luminance": 0.26191
}

Semantic roles & 50–950 ramp

primary
#C05DFE
secondary
#D6F4C3
accent
#E60058
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #C05DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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