#8038BE#8038BE

#8038BE is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.200 H 304.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8038BE
RGBrgb(128, 56, 190)
HSLhsl(272, 54%, 48%)
HSVhsv(272, 71%, 75%)
CMYKcmyk(32.6%, 70.5%, 0%, 25.5%)
CIE-LABlab(39.81, 54.89, -57.90)
CIE-LCHlch(39.81, 79.78, 313.47°)
OKLaboklab(50.54% 0.114 -0.1646)
OKLCHoklch(50.54% 0.2 304.7)
XYZxyz(19.6084, 11.1353, 49.8215)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8038BE #76BE38
analogous
#3D38BE #8038BE #BE38B9
triadic
#8038BE #BE8038 #38BE80
tetradic
#8038BE #BE3D38 #76BE38 #38B9BE
square
#8038BE #BE3D38 #76BE38 #38B9BE
split-complementary
#8038BE #B9BE38 #38BE3D
monochromatic
#401C5F #602A8F #8038BE #9E62D1 #BB92DF

Accessibility & contrast

On white

6.51
#8038BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8038BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8038BE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8038BE#FFFFFF#000000##FFFFFF
##8038BE1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#745777
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8038be;
/* rgb */ color: rgb(128, 56, 190);
/* oklch */ color: oklch(50.5% 0.200 304.7);
Tailwind
colors: {
  custom: {
    50: '#aa75d2',
    500: '#8038be',
    950: '#000000',
  },
}
SCSS
$custom: #8038be;
$custom-light: #aa75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8038be",
  "rgb": {
    "r": 128,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 272.239,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50544,
    "c": 0.20022,
    "h": 304.7
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#8038BE
secondary
#A6CA88
accent
#DE4A8E
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #8038BE

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

Preview Lab → · Contrast checker → · Palette generator →

#8038BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva