#8235E2#8235E2

#8235E2 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.3% C 0.241 H 297.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8235E2
RGBrgb(130, 53, 226)
HSLhsl(267, 75%, 55%)
HSVhsv(267, 77%, 89%)
CMYKcmyk(42.5%, 76.5%, 0%, 11.4%)
CIE-LABlab(42.43, 65.05, -74.40)
CIE-LCHlch(42.43, 98.83, 311.16°)
OKLaboklab(53.33% 0.1117 -0.213)
OKLCHoklch(53.33% 0.241 297.7)
XYZxyz(24.2029, 12.7826, 73.1289)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8235E2 #95E235
analogous
#353FE2 #8235E2 #D835E2
triadic
#8235E2 #E28235 #35E282
tetradic
#8235E2 #E2353F #95E235 #35E2D8
square
#8235E2 #E2353F #95E235 #35E2D8
split-complementary
#8235E2 #E2D835 #3FE235
monochromatic
#481489 #641BBE #8235E2 #A36BEA #C4A0F1

Accessibility & contrast

On white

5.90
#8235E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8235E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8235E2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8235E2#FFFFFF#000000##FFFFFF
##8235E21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#69648B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8235e2;
/* rgb */ color: rgb(130, 53, 226);
/* oklch */ color: oklch(53.3% 0.241 297.7);
Tailwind
colors: {
  custom: {
    50: '#af75ec',
    500: '#8235e2',
    950: '#000000',
  },
}
SCSS
$custom: #8235e2;
$custom-light: #af75ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8235e2",
  "rgb": {
    "r": 130,
    "g": 53,
    "b": 226
  },
  "hsl": {
    "h": 266.705,
    "s": 74.892,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53329,
    "c": 0.24051,
    "h": 297.7
  },
  "luminance": 0.12783
}

Semantic roles & 50–950 ramp

primary
#8235E2
secondary
#BDDE95
accent
#F2369E
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #8235E2

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

Preview Lab → · Contrast checker → · Palette generator →

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