#8235B2#8235B2

#8235B2 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.6% C 0.192 H 309.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8235B2
RGBrgb(130, 53, 178)
HSLhsl(277, 54%, 45%)
HSVhsv(277, 70%, 70%)
CMYKcmyk(27%, 70.2%, 0%, 30.2%)
CIE-LABlab(38.74, 53.90, -52.55)
CIE-LCHlch(38.74, 75.28, 315.73°)
OKLaboklab(49.57% 0.1215 -0.1488)
OKLCHoklch(49.57% 0.192 309.2)
XYZxyz(18.5133, 10.5067, 43.1636)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8235B2 #65B235
analogous
#4335B2 #8235B2 #B235A3
triadic
#8235B2 #B28235 #35B282
tetradic
#8235B2 #B24335 #65B235 #35A3B2
square
#8235B2 #B24335 #65B235 #35A3B2
split-complementary
#8235B2 #A3B235 #35B243
monochromatic
#3D1954 #602783 #8235B2 #A057CD #BB86DB

Accessibility & contrast

On white

6.77
#8235B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8235B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8235B2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8235B2#FFFFFF#000000##FFFFFF
##8235B21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#1B5CAF
Tritanopia (blue-blind)
#7B5170
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8235b2;
/* rgb */ color: rgb(130, 53, 178);
/* oklch */ color: oklch(49.6% 0.192 309.2);
Tailwind
colors: {
  custom: {
    50: '#ab73ca',
    500: '#8235b2',
    950: '#000000',
  },
}
SCSS
$custom: #8235b2;
$custom-light: #ab73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8235b2",
  "rgb": {
    "r": 130,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 276.96,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49568,
    "c": 0.19211,
    "h": 309.2
  },
  "luminance": 0.10506
}

Semantic roles & 50–950 ramp

primary
#8235B2
secondary
#99C57E
accent
#DD4A83
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8235B2

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

Preview Lab → · Contrast checker → · Palette generator →

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