#6234AE#6234AE

#6234AE is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.183 H 295.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6234AE
RGBrgb(98, 52, 174)
HSLhsl(263, 54%, 44%)
HSVhsv(263, 70%, 68%)
CMYKcmyk(43.7%, 70.1%, 0%, 31.8%)
CIE-LABlab(34.21, 47.04, -57.70)
CIE-LCHlch(34.21, 74.45, 309.18°)
OKLaboklab(45.36% 0.0784 -0.165)
OKLCHoklch(45.36% 0.183 295.4)
XYZxyz(13.9029, 8.1083, 40.8687)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6234AE #80AE34
analogous
#3443AE #6234AE #9F34AE
triadic
#6234AE #AE6234 #34AE62
tetradic
#6234AE #AE3443 #80AE34 #34AE9F
square
#6234AE #AE3443 #80AE34 #34AE9F
split-complementary
#6234AE #AE9F34 #43AE34
monochromatic
#2D1850 #47267F #6234AE #8153CC #A383DA

Accessibility & contrast

On white

8.01
#6234AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6234AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6234AE
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6234AE#FFFFFF#000000##FFFFFF
##6234AE1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#4D526D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6234ae;
/* rgb */ color: rgb(98, 52, 174);
/* oklch */ color: oklch(45.4% 0.183 295.4);
Tailwind
colors: {
  custom: {
    50: '#956fc7',
    500: '#6234ae',
    950: '#000000',
  },
}
SCSS
$custom: #6234ae;
$custom-light: #956fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6234ae",
  "rgb": {
    "r": 98,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 262.623,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45357,
    "c": 0.18272,
    "h": 295.4
  },
  "luminance": 0.08109
}

Semantic roles & 50–950 ramp

primary
#6234AE
secondary
#A8C37B
accent
#DD4AA6
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6234AE

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

Preview Lab → · Contrast checker → · Palette generator →

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