#8235B8#8235B8

#8235B8 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.0% C 0.198 H 307.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8235B8
RGBrgb(130, 53, 184)
HSLhsl(275, 55%, 46%)
HSVhsv(275, 71%, 72%)
CMYKcmyk(29.3%, 71.2%, 0%, 27.8%)
CIE-LABlab(39.16, 55.25, -55.41)
CIE-LCHlch(39.16, 78.24, 314.92°)
OKLaboklab(50% 0.1207 -0.1572)
OKLCHoklch(50% 0.198 307.5)
XYZxyz(19.1289, 10.7530, 46.4059)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8235B8 #6BB835
analogous
#4135B8 #8235B8 #B835AD
triadic
#8235B8 #B88235 #35B882
tetradic
#8235B8 #B84135 #6BB835 #35ADB8
square
#8235B8 #B84135 #6BB835 #35ADB8
split-complementary
#8235B8 #ADB835 #35B841
monochromatic
#3F1A59 #602788 #8235B8 #9F5BD0 #BB8ADD

Accessibility & contrast

On white

6.67
#8235B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8235B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8235B8
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8235B8#FFFFFF#000000##FFFFFF
##8235B81.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#0B5DB5
Tritanopia (blue-blind)
#795373
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8235b8;
/* rgb */ color: rgb(130, 53, 184);
/* oklch */ color: oklch(50.0% 0.198 307.5);
Tailwind
colors: {
  custom: {
    50: '#ab73ce',
    500: '#8235b8',
    950: '#000000',
  },
}
SCSS
$custom: #8235b8;
$custom-light: #ab73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8235b8",
  "rgb": {
    "r": 130,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 275.267,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50004,
    "c": 0.19817,
    "h": 307.5
  },
  "luminance": 0.10753
}

Semantic roles & 50–950 ramp

primary
#8235B8
secondary
#9EC781
accent
#DF4987
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8235B8

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

Preview Lab → · Contrast checker → · Palette generator →

#8235B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva