#6232AE#6232AE

#6232AE is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.185 H 295.7°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#6232AE
RGBrgb(98, 50, 174)
HSLhsl(263, 55%, 44%)
HSVhsv(263, 71%, 68%)
CMYKcmyk(43.7%, 71.3%, 0%, 31.8%)
CIE-LABlab(33.84, 48.05, -58.30)
CIE-LCHlch(33.84, 75.55, 309.50°)
OKLaboklab(45.1% 0.0804 -0.1668)
OKLCHoklch(45.1% 0.185 295.7)
XYZxyz(13.8156, 7.9335, 40.8396)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232AE #7EAE32
analogous
#3240AE #6232AE #A032AE
triadic
#6232AE #AE6232 #32AE62
tetradic
#6232AE #AE3240 #7EAE32 #32AEA0
square
#6232AE #AE3240 #7EAE32 #32AEA0
split-complementary
#6232AE #AEA032 #40AE32
monochromatic
#2C174F #47247E #6232AE #8150CD #A380DA

Accessibility & contrast

On white

8.12
#6232AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6232AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232AE
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232AE#FFFFFF#000000##FFFFFF
##6232AE1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#4E516C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6232ae;
/* rgb */ color: rgb(98, 50, 174);
/* oklch */ color: oklch(45.1% 0.185 295.7);
Tailwind
colors: {
  custom: {
    50: '#956ec7',
    500: '#6232ae',
    950: '#000000',
  },
}
SCSS
$custom: #6232ae;
$custom-light: #956ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#6232ae",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 263.226,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45099,
    "c": 0.18514,
    "h": 295.7
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#6232AE
secondary
#A6C478
accent
#DF49A5
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6232AE

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

Preview Lab → · Contrast checker → · Palette generator →

#6232AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva