#C585F7#C585F7

#C585F7 is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.6% C 0.171 H 308.6°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#C585F7
RGBrgb(197, 133, 247)
HSLhsl(274, 88%, 75%)
HSVhsv(274, 46%, 97%)
CMYKcmyk(20.2%, 46.2%, 0%, 3.1%)
CIE-LABlab(66.03, 45.15, -47.83)
CIE-LCHlch(66.03, 65.77, 313.35°)
OKLaboklab(72.57% 0.1066 -0.1334)
OKLCHoklch(72.57% 0.171 308.6)
XYZxyz(48.1988, 35.3614, 92.2640)
Luminance0.3536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C585F7 #B7F785
analogous
#8C85F7 #C585F7 #F785F0
triadic
#C585F7 #F7C585 #85F7C5
tetradic
#C585F7 #F78C85 #B7F785 #85F0F7
square
#C585F7 #F78C85 #B7F785 #85F0F7
split-complementary
#C585F7 #F0F785 #85F78C
monochromatic
#8E12EF #AA4CF3 #C585F7 #E0BEFB #F1E2FD

Accessibility & contrast

On white

2.60
#C585F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#C585F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C585F7
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C585F7#FFFFFF#000000##000000
##C585F71.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#7AA1F4
Tritanopia (blue-blind)
#BE98B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c585f7;
/* rgb */ color: rgb(197, 133, 247);
/* oklch */ color: oklch(72.6% 0.171 308.6);
Tailwind
colors: {
  custom: {
    50: '#d9aafa',
    500: '#c585f7',
    950: '#000000',
  },
}
SCSS
$custom: #c585f7;
$custom-light: #d9aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#c585f7",
  "rgb": {
    "r": 197,
    "g": 133,
    "b": 247
  },
  "hsl": {
    "h": 273.684,
    "s": 87.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72569,
    "c": 0.17076,
    "h": 308.6
  },
  "luminance": 0.35361
}

Semantic roles & 50–950 ramp

primary
#C585F7
secondary
#E4F5D6
accent
#E40165
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C585F7

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

Preview Lab → · Contrast checker → · Palette generator →

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