#8238AE#8238AE

#8238AE is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.6% C 0.184 H 310.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8238AE
RGBrgb(130, 56, 174)
HSLhsl(278, 51%, 45%)
HSVhsv(278, 68%, 68%)
CMYKcmyk(25.3%, 67.8%, 0%, 31.8%)
CIE-LABlab(38.95, 51.64, -49.83)
CIE-LCHlch(38.95, 71.76, 316.02°)
OKLaboklab(49.63% 0.1187 -0.1408)
OKLCHoklch(49.63% 0.184 310.1)
XYZxyz(18.2586, 10.6305, 41.1262)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8238AE #64AE38
analogous
#4738AE #8238AE #AE389F
triadic
#8238AE #AE8238 #38AE82
tetradic
#8238AE #AE4738 #64AE38 #389FAE
square
#8238AE #AE4738 #64AE38 #389FAE
split-complementary
#8238AE #9FAE38 #38AE47
monochromatic
#3D1A51 #5F2980 #8238AE #A059CA #BA88D9

Accessibility & contrast

On white

6.72
#8238AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8238AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8238AE
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8238AE#FFFFFF#000000##FFFFFF
##8238AE1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#265DAB
Tritanopia (blue-blind)
#7C516E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8238ae;
/* rgb */ color: rgb(130, 56, 174);
/* oklch */ color: oklch(49.6% 0.184 310.1);
Tailwind
colors: {
  custom: {
    50: '#aa74c7',
    500: '#8238ae',
    950: '#000000',
  },
}
SCSS
$custom: #8238ae;
$custom-light: #aa74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8238ae",
  "rgb": {
    "r": 130,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 277.627,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49634,
    "c": 0.18417,
    "h": 310.1
  },
  "luminance": 0.1063
}

Semantic roles & 50–950 ramp

primary
#8238AE
secondary
#98C37F
accent
#DB4D82
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8238AE

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

Preview Lab → · Contrast checker → · Palette generator →

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