#8238BC#8238BC

#8238BC is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.6% C 0.199 H 306.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8238BC
RGBrgb(130, 56, 188)
HSLhsl(274, 54%, 48%)
HSVhsv(274, 70%, 74%)
CMYKcmyk(30.9%, 70.2%, 0%, 26.3%)
CIE-LABlab(39.92, 54.83, -56.52)
CIE-LCHlch(39.92, 78.74, 314.13°)
OKLaboklab(50.64% 0.117 -0.1605)
OKLCHoklch(50.64% 0.199 306.1)
XYZxyz(19.6952, 11.2052, 48.6925)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8238BC #72BC38
analogous
#4038BC #8238BC #BC38B4
triadic
#8238BC #BC8238 #38BC82
tetradic
#8238BC #BC4038 #72BC38 #38B4BC
square
#8238BC #BC4038 #72BC38 #38B4BC
split-complementary
#8238BC #B4BC38 #38BC40
monochromatic
#411C5E #612A8D #8238BC #9F61D0 #BC90DE

Accessibility & contrast

On white

6.48
#8238BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8238BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8238BC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8238BC#FFFFFF#000000##FFFFFF
##8238BC1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#055EB9
Tritanopia (blue-blind)
#785676
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8238bc;
/* rgb */ color: rgb(130, 56, 188);
/* oklch */ color: oklch(50.6% 0.199 306.1);
Tailwind
colors: {
  custom: {
    50: '#ab75d1',
    500: '#8238bc',
    950: '#000000',
  },
}
SCSS
$custom: #8238bc;
$custom-light: #ab75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8238bc",
  "rgb": {
    "r": 130,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 273.636,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50638,
    "c": 0.19862,
    "h": 306.1
  },
  "luminance": 0.11205
}

Semantic roles & 50–950 ramp

primary
#8238BC
secondary
#A4C987
accent
#DD4A8B
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8238BC

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

Preview Lab → · Contrast checker → · Palette generator →

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