#8238A7#8238A7

#8238A7 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.2% C 0.177 H 312.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8238A7
RGBrgb(130, 56, 167)
HSLhsl(280, 50%, 44%)
HSVhsv(280, 66%, 65%)
CMYKcmyk(22.2%, 66.5%, 0%, 34.5%)
CIE-LABlab(38.49, 50.09, -46.40)
CIE-LCHlch(38.49, 68.28, 317.19°)
OKLaboklab(49.16% 0.1192 -0.1307)
OKLCHoklch(49.16% 0.177 312.4)
XYZxyz(17.5939, 10.3647, 37.6255)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8238A7 #5DA738
analogous
#4A38A7 #8238A7 #A73894
triadic
#8238A7 #A78238 #38A782
tetradic
#8238A7 #A74A38 #5DA738 #3894A7
square
#8238A7 #A74A38 #5DA738 #3894A7
split-complementary
#8238A7 #94A738 #38A74A
monochromatic
#3B194B #5E2979 #8238A7 #A156C6 #BA84D6

Accessibility & contrast

On white

6.83
#8238A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8238A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8238A7
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8238A7#FFFFFF#000000##FFFFFF
##8238A71.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#2F5CA4
Tritanopia (blue-blind)
#7E4E6B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8238a7;
/* rgb */ color: rgb(130, 56, 167);
/* oklch */ color: oklch(49.2% 0.177 312.4);
Tailwind
colors: {
  custom: {
    50: '#aa74c2',
    500: '#8238a7',
    950: '#000000',
  },
}
SCSS
$custom: #8238a7;
$custom-light: #aa74c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8238a7",
  "rgb": {
    "r": 130,
    "g": 56,
    "b": 167
  },
  "hsl": {
    "h": 280,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49155,
    "c": 0.17695,
    "h": 312.4
  },
  "luminance": 0.10364
}

Semantic roles & 50–950 ramp

primary
#8238A7
secondary
#92BF7B
accent
#D94F7D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8238A7

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

Preview Lab → · Contrast checker → · Palette generator →

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