#8338BE#8338BE

#8338BE is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.9% C 0.201 H 306.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8338BE
RGBrgb(131, 56, 190)
HSLhsl(274, 54%, 48%)
HSVhsv(274, 71%, 75%)
CMYKcmyk(31.1%, 70.5%, 0%, 25.5%)
CIE-LABlab(40.20, 55.49, -57.24)
CIE-LCHlch(40.20, 79.72, 314.11°)
OKLaboklab(50.91% 0.1181 -0.1626)
OKLCHoklch(50.91% 0.201 306)
XYZxyz(20.0665, 11.3715, 49.8430)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8338BE #73BE38
analogous
#4038BE #8338BE #BE38B6
triadic
#8338BE #BE8338 #38BE83
tetradic
#8338BE #BE4038 #73BE38 #38B6BE
square
#8338BE #BE4038 #73BE38 #38B6BE
split-complementary
#8338BE #B6BE38 #38BE40
monochromatic
#421C5F #622A8F #8338BE #A062D1 #BD92DF

Accessibility & contrast

On white

6.41
#8338BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8338BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8338BE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8338BE#FFFFFF#000000##FFFFFF
##8338BE1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#795777
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8338be;
/* rgb */ color: rgb(131, 56, 190);
/* oklch */ color: oklch(50.9% 0.201 306.0);
Tailwind
colors: {
  custom: {
    50: '#ac75d2',
    500: '#8338be',
    950: '#000000',
  },
}
SCSS
$custom: #8338be;
$custom-light: #ac75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8338be",
  "rgb": {
    "r": 131,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 273.582,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50908,
    "c": 0.20093,
    "h": 306
  },
  "luminance": 0.11371
}

Semantic roles & 50–950 ramp

primary
#8338BE
secondary
#A5CA88
accent
#DE4A8B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8338BE

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

Preview Lab → · Contrast checker → · Palette generator →

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