#C585F2#C585F2

#C585F2 is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.3% C 0.165 H 309.9°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#C585F2
RGBrgb(197, 133, 242)
HSLhsl(275, 81%, 74%)
HSVhsv(275, 45%, 95%)
CMYKcmyk(18.6%, 45%, 0%, 5.1%)
CIE-LABlab(65.79, 44.05, -45.45)
CIE-LCHlch(65.79, 63.30, 314.10°)
OKLaboklab(72.32% 0.1059 -0.1265)
OKLCHoklch(72.32% 0.165 309.9)
XYZxyz(47.4375, 35.0569, 88.2548)
Luminance0.3506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C585F2 #B2F285
analogous
#8E85F2 #C585F2 #F285E9
triadic
#C585F2 #F2C585 #85F2C5
tetradic
#C585F2 #F28E85 #B2F285 #85E9F2
square
#C585F2 #F28E85 #B2F285 #85E9F2
split-complementary
#C585F2 #E9F285 #85F28E
monochromatic
#9018E4 #AB4EEC #C585F2 #DFBCF8 #F2E3FC

Accessibility & contrast

On white

2.62
#C585F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#C585F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C585F2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C585F2#FFFFFF#000000##000000
##C585F21.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#7DA1EF
Tritanopia (blue-blind)
#C096B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c585f2;
/* rgb */ color: rgb(197, 133, 242);
/* oklch */ color: oklch(72.3% 0.165 309.9);
Tailwind
colors: {
  custom: {
    50: '#d8aaf7',
    500: '#c585f2',
    950: '#000000',
  },
}
SCSS
$custom: #c585f2;
$custom-light: #d8aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#c585f2",
  "rgb": {
    "r": 197,
    "g": 133,
    "b": 242
  },
  "hsl": {
    "h": 275.229,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72315,
    "c": 0.16499,
    "h": 309.9
  },
  "luminance": 0.35056
}

Semantic roles & 50–950 ramp

primary
#C585F2
secondary
#E3F4D7
accent
#DD0860
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #C585F2

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

Preview Lab → · Contrast checker → · Palette generator →

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