#8438C2#8438C2

#8438C2 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.3% C 0.205 H 305.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8438C2
RGBrgb(132, 56, 194)
HSLhsl(273, 55%, 49%)
HSVhsv(273, 71%, 76%)
CMYKcmyk(32%, 71.1%, 0%, 23.9%)
CIE-LABlab(40.62, 56.60, -58.89)
CIE-LCHlch(40.62, 81.68, 313.86°)
OKLaboklab(51.33% 0.1188 -0.1674)
OKLCHoklch(51.33% 0.205 305.4)
XYZxyz(20.6653, 11.6291, 52.1844)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8438C2 #76C238
analogous
#3F38C2 #8438C2 #C238BB
triadic
#8438C2 #C28438 #38C284
tetradic
#8438C2 #C23F38 #76C238 #38BBC2
square
#8438C2 #C23F38 #76C238 #38BBC2
split-complementary
#8438C2 #BBC238 #38C23F
monochromatic
#431D63 #642A93 #8438C2 #A165D2 #BE94E0

Accessibility & contrast

On white

6.31
#8438C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8438C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8438C2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8438C2#FFFFFF#000000##FFFFFF
##8438C21.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#795879
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8438c2;
/* rgb */ color: rgb(132, 56, 194);
/* oklch */ color: oklch(51.3% 0.205 305.4);
Tailwind
colors: {
  custom: {
    50: '#ad75d5',
    500: '#8438c2',
    950: '#000000',
  },
}
SCSS
$custom: #8438c2;
$custom-light: #ad75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8438c2",
  "rgb": {
    "r": 132,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 273.043,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51326,
    "c": 0.20528,
    "h": 305.4
  },
  "luminance": 0.11629
}

Semantic roles & 50–950 ramp

primary
#8438C2
secondary
#A8CB8A
accent
#DF498C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8438C2

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

Preview Lab → · Contrast checker → · Palette generator →

#8438C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva