#8234CB#8234CB

#8234CB is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.3% C 0.218 H 302.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8234CB
RGBrgb(130, 52, 203)
HSLhsl(271, 59%, 50%)
HSVhsv(271, 74%, 80%)
CMYKcmyk(36%, 74.4%, 0%, 20.4%)
CIE-LABlab(40.43, 60.04, -64.45)
CIE-LCHlch(40.43, 88.08, 312.97°)
OKLaboklab(51.35% 0.1182 -0.1837)
OKLCHoklch(51.35% 0.218 302.7)
XYZxyz(21.2108, 11.5136, 57.5932)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8234CB #7DCB34
analogous
#3634CB #8234CB #CB34C9
triadic
#8234CB #CB8234 #34CB82
tetradic
#8234CB #CB3634 #7DCB34 #34C9CB
square
#8234CB #CB3634 #7DCB34 #34C9CB
split-complementary
#8234CB #C9CB34 #34CB36
monochromatic
#441B6A #63289A #8234CB #A065D7 #BE95E4

Accessibility & contrast

On white

6.36
#8234CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8234CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8234CB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8234CB#FFFFFF#000000##FFFFFF
##8234CB1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8234cb;
/* rgb */ color: rgb(130, 52, 203);
/* oklch */ color: oklch(51.3% 0.218 302.7);
Tailwind
colors: {
  custom: {
    50: '#ac73dc',
    500: '#8234cb',
    950: '#000000',
  },
}
SCSS
$custom: #8234cb;
$custom-light: #ac73dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8234cb",
  "rgb": {
    "r": 130,
    "g": 52,
    "b": 203
  },
  "hsl": {
    "h": 270.993,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.5135,
    "c": 0.21847,
    "h": 302.7
  },
  "luminance": 0.11514
}

Semantic roles & 50–950 ramp

primary
#8234CB
secondary
#ACCF8C
accent
#E24591
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8234CB

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

Preview Lab → · Contrast checker → · Palette generator →

#8234CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva