#8238AF#8238AF

#8238AF is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.185 H 309.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8238AF
RGBrgb(130, 56, 175)
HSLhsl(277, 52%, 45%)
HSVhsv(277, 68%, 69%)
CMYKcmyk(25.7%, 68%, 0%, 31.4%)
CIE-LABlab(39.02, 51.87, -50.31)
CIE-LCHlch(39.02, 72.26, 315.87°)
OKLaboklab(49.7% 0.1186 -0.1422)
OKLCHoklch(49.7% 0.185 309.8)
XYZxyz(18.3564, 10.6697, 41.6416)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8238AF #65AF38
analogous
#4738AF #8238AF #AF38A0
triadic
#8238AF #AF8238 #38AF82
tetradic
#8238AF #AF4738 #65AF38 #38A0AF
square
#8238AF #AF4738 #65AF38 #38A0AF
split-complementary
#8238AF #A0AF38 #38AF47
monochromatic
#3D1A52 #602981 #8238AF #A05ACA #BB88D9

Accessibility & contrast

On white

6.70
#8238AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8238AF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8238AF#FFFFFF#000000##FFFFFF
##8238AF1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#255DAC
Tritanopia (blue-blind)
#7C516F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8238af;
/* rgb */ color: rgb(130, 56, 175);
/* oklch */ color: oklch(49.7% 0.185 309.8);
Tailwind
colors: {
  custom: {
    50: '#aa74c8',
    500: '#8238af',
    950: '#000000',
  },
}
SCSS
$custom: #8238af;
$custom-light: #aa74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8238af",
  "rgb": {
    "r": 130,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 277.311,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49704,
    "c": 0.18519,
    "h": 309.8
  },
  "luminance": 0.10669
}

Semantic roles & 50–950 ramp

primary
#8238AF
secondary
#99C380
accent
#DB4D83
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8238AF

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

Preview Lab → · Contrast checker → · Palette generator →

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