#8235C7#8235C7

#8235C7 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.1% C 0.213 H 303.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8235C7
RGBrgb(130, 53, 199)
HSLhsl(272, 58%, 49%)
HSVhsv(272, 73%, 78%)
CMYKcmyk(34.7%, 73.4%, 0%, 22%)
CIE-LABlab(40.27, 58.69, -62.39)
CIE-LCHlch(40.27, 85.65, 313.25°)
OKLaboklab(51.14% 0.1181 -0.1777)
OKLCHoklch(51.14% 0.213 303.6)
XYZxyz(20.7854, 11.4156, 55.1302)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8235C7 #7AC735
analogous
#3935C7 #8235C7 #C735C3
triadic
#8235C7 #C78235 #35C782
tetradic
#8235C7 #C73935 #7AC735 #35C3C7
square
#8235C7 #C73935 #7AC735 #35C3C7
split-complementary
#8235C7 #C3C735 #35C739
monochromatic
#431B66 #622897 #8235C7 #A064D6 #BD94E2

Accessibility & contrast

On white

6.40
#8235C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8235C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8235C7
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8235C7#FFFFFF#000000##FFFFFF
##8235C71.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#74597B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8235c7;
/* rgb */ color: rgb(130, 53, 199);
/* oklch */ color: oklch(51.1% 0.213 303.6);
Tailwind
colors: {
  custom: {
    50: '#ac73d9',
    500: '#8235c7',
    950: '#000000',
  },
}
SCSS
$custom: #8235c7;
$custom-light: #ac73d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8235c7",
  "rgb": {
    "r": 130,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 271.644,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5114,
    "c": 0.21335,
    "h": 303.6
  },
  "luminance": 0.11416
}

Semantic roles & 50–950 ramp

primary
#8235C7
secondary
#AACE8A
accent
#E14790
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8235C7

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

Preview Lab → · Contrast checker → · Palette generator →

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