#8238BD#8238BD

#8238BD is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.7% C 0.200 H 305.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8238BD
RGBrgb(130, 56, 189)
HSLhsl(273, 54%, 48%)
HSVhsv(273, 70%, 74%)
CMYKcmyk(31.2%, 70.4%, 0%, 25.9%)
CIE-LABlab(40.00, 55.06, -56.99)
CIE-LCHlch(40.00, 79.24, 314.01°)
OKLaboklab(50.71% 0.1169 -0.1619)
OKLCHoklch(50.71% 0.2 305.8)
XYZxyz(19.8034, 11.2485, 49.2621)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8238BD #73BD38
analogous
#3F38BD #8238BD #BD38B6
triadic
#8238BD #BD8238 #38BD82
tetradic
#8238BD #BD3F38 #73BD38 #38B6BD
square
#8238BD #BD3F38 #73BD38 #38B6BD
split-complementary
#8238BD #B6BD38 #38BD3F
monochromatic
#411C5F #622A8E #8238BD #9F62D0 #BC91DE

Accessibility & contrast

On white

6.46
#8238BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8238BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8238BD
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8238BD#FFFFFF#000000##FFFFFF
##8238BD1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#005FBA
Tritanopia (blue-blind)
#785777
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8238bd;
/* rgb */ color: rgb(130, 56, 189);
/* oklch */ color: oklch(50.7% 0.200 305.8);
Tailwind
colors: {
  custom: {
    50: '#ab75d2',
    500: '#8238bd',
    950: '#000000',
  },
}
SCSS
$custom: #8238bd;
$custom-light: #ab75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8238bd",
  "rgb": {
    "r": 130,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 273.383,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50712,
    "c": 0.19965,
    "h": 305.8
  },
  "luminance": 0.11248
}

Semantic roles & 50–950 ramp

primary
#8238BD
secondary
#A5C987
accent
#DE4A8C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8238BD

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

Preview Lab → · Contrast checker → · Palette generator →

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