#8235CA#8235CA

#8235CA is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.4% C 0.216 H 302.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8235CA
RGBrgb(130, 53, 202)
HSLhsl(271, 58%, 50%)
HSVhsv(271, 74%, 79%)
CMYKcmyk(35.6%, 73.8%, 0%, 20.8%)
CIE-LABlab(40.50, 59.38, -63.76)
CIE-LCHlch(40.50, 87.13, 312.97°)
OKLaboklab(51.38% 0.1175 -0.1817)
OKLCHoklch(51.38% 0.216 302.9)
XYZxyz(21.1372, 11.5563, 56.9827)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8235CA #7DCA35
analogous
#3835CA #8235CA #CA35C7
triadic
#8235CA #CA8235 #35CA82
tetradic
#8235CA #CA3835 #7DCA35 #35C7CA
square
#8235CA #CA3835 #7DCA35 #35C7CA
split-complementary
#8235CA #C7CA35 #35CA38
monochromatic
#441C69 #63289A #8235CA #A065D7 #BE96E3

Accessibility & contrast

On white

6.34
#8235CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8235CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8235CA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8235CA#FFFFFF#000000##FFFFFF
##8235CA1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#735A7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8235ca;
/* rgb */ color: rgb(130, 53, 202);
/* oklch */ color: oklch(51.4% 0.216 302.9);
Tailwind
colors: {
  custom: {
    50: '#ac74db',
    500: '#8235ca',
    950: '#000000',
  },
}
SCSS
$custom: #8235ca;
$custom-light: #ac74db;
$custom-dark: #000000;
JSON
{
  "hex": "#8235ca",
  "rgb": {
    "r": 130,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 271.007,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.21639,
    "h": 302.9
  },
  "luminance": 0.11556
}

Semantic roles & 50–950 ramp

primary
#8235CA
secondary
#ACCF8C
accent
#E24691
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8235CA

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

Preview Lab → · Contrast checker → · Palette generator →

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