#C583F2#C583F2

#C583F2 is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.0% C 0.168 H 310.2°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#C583F2
RGBrgb(197, 131, 242)
HSLhsl(276, 81%, 73%)
HSVhsv(276, 46%, 95%)
CMYKcmyk(18.6%, 45.9%, 0%, 5.1%)
CIE-LABlab(65.37, 45.13, -46.12)
CIE-LCHlch(65.37, 64.52, 314.37°)
OKLaboklab(72% 0.1086 -0.1285)
OKLCHoklch(72% 0.168 310.2)
XYZxyz(47.1663, 34.5145, 88.1644)
Luminance0.3451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C583F2 #B0F283
analogous
#8D83F2 #C583F2 #F283E7
triadic
#C583F2 #F2C583 #83F2C5
tetradic
#C583F2 #F28D83 #B0F283 #83E7F2
square
#C583F2 #F28D83 #B0F283 #83E7F2
split-complementary
#C583F2 #E7F283 #83F28D
monochromatic
#9118E3 #AB4CEC #C583F2 #DFBAF8 #F2E3FC

Accessibility & contrast

On white

2.66
#C583F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#C583F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C583F2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C583F2#FFFFFF#000000##000000
##C583F21.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#699CF6
Deuteranopia (green-blind)
#7BA0EF
Tritanopia (blue-blind)
#C095AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c583f2;
/* rgb */ color: rgb(197, 131, 242);
/* oklch */ color: oklch(72.0% 0.168 310.2);
Tailwind
colors: {
  custom: {
    50: '#d8a8f7',
    500: '#c583f2',
    950: '#000000',
  },
}
SCSS
$custom: #c583f2;
$custom-light: #d8a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c583f2",
  "rgb": {
    "r": 197,
    "g": 131,
    "b": 242
  },
  "hsl": {
    "h": 275.676,
    "s": 81.022,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71998,
    "c": 0.16823,
    "h": 310.2
  },
  "luminance": 0.34514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C583F2

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

Preview Lab → · Contrast checker → · Palette generator →

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