#8239BD#8239BD

#8239BD is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.8% C 0.198 H 305.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8239BD
RGBrgb(130, 57, 189)
HSLhsl(273, 54%, 48%)
HSVhsv(273, 70%, 74%)
CMYKcmyk(31.2%, 69.8%, 0%, 25.9%)
CIE-LABlab(40.16, 54.60, -56.73)
CIE-LCHlch(40.16, 78.74, 313.90°)
OKLaboklab(50.83% 0.1159 -0.1611)
OKLCHoklch(50.83% 0.198 305.7)
XYZxyz(19.8523, 11.3464, 49.2785)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8239BD #74BD39
analogous
#4039BD #8239BD #BD39B6
triadic
#8239BD #BD8239 #39BD82
tetradic
#8239BD #BD4039 #74BD39 #39B6BD
square
#8239BD #BD4039 #74BD39 #39B6BD
split-complementary
#8239BD #B6BD39 #39BD40
monochromatic
#411D5F #622B8E #8239BD #9F63D0 #BC92DE

Accessibility & contrast

On white

6.42
#8239BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8239BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8239BD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8239BD#FFFFFF#000000##FFFFFF
##8239BD1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8239bd;
/* rgb */ color: rgb(130, 57, 189);
/* oklch */ color: oklch(50.8% 0.198 305.7);
Tailwind
colors: {
  custom: {
    50: '#ab75d2',
    500: '#8239bd',
    950: '#000000',
  },
}
SCSS
$custom: #8239bd;
$custom-light: #ab75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8239bd",
  "rgb": {
    "r": 130,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 273.182,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50827,
    "c": 0.19843,
    "h": 305.7
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#8239BD
secondary
#A5C989
accent
#DD4B8C
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8239BD

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

Preview Lab → · Contrast checker → · Palette generator →

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