#C05EF2#C05EF2

#C05EF2 is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 66.2% C 0.222 H 312.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#C05EF2
RGBrgb(192, 94, 242)
HSLhsl(280, 85%, 66%)
HSVhsv(280, 61%, 95%)
CMYKcmyk(20.7%, 61.2%, 0%, 5.1%)
CIE-LABlab(57.68, 62.55, -58.37)
CIE-LCHlch(57.68, 85.55, 316.98°)
OKLaboklab(66.21% 0.15 -0.1641)
OKLCHoklch(66.21% 0.222 312.4)
XYZxyz(41.7651, 25.6238, 86.7330)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C05EF2 #90F25E
analogous
#765EF2 #C05EF2 #F25EDA
triadic
#C05EF2 #F2C05E #5EF2C0
tetradic
#C05EF2 #F2765E #90F25E #5EDAF2
square
#C05EF2 #F2765E #90F25E #5EDAF2
split-complementary
#C05EF2 #DAF25E #5EF276
monochromatic
#8810C6 #AA25ED #C05EF2 #D697F7 #ECCFFB

Accessibility & contrast

On white

3.43
#C05EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#C05EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C05EF2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C05EF2#FFFFFF#000000##000000
##C05EF21.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2285F7
Deuteranopia (green-blind)
#538DEE
Tritanopia (blue-blind)
#BB7AA0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c05ef2;
/* rgb */ color: rgb(192, 94, 242);
/* oklch */ color: oklch(66.2% 0.222 312.4);
Tailwind
colors: {
  custom: {
    50: '#d791f7',
    500: '#c05ef2',
    950: '#000000',
  },
}
SCSS
$custom: #c05ef2;
$custom-light: #d791f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c05ef2",
  "rgb": {
    "r": 192,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 279.73,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66209,
    "c": 0.22234,
    "h": 312.4
  },
  "luminance": 0.25623
}

Semantic roles & 50–950 ramp

primary
#C05EF2
secondary
#CEEEBD
accent
#E2044F
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #C05EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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