#8738C2#8738C2

#8738C2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.206 H 306.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8738C2
RGBrgb(135, 56, 194)
HSLhsl(274, 55%, 49%)
HSVhsv(274, 71%, 76%)
CMYKcmyk(30.4%, 71.1%, 0%, 23.9%)
CIE-LABlab(41.02, 57.19, -58.23)
CIE-LCHlch(41.02, 81.62, 314.48°)
OKLaboklab(51.69% 0.1229 -0.1653)
OKLCHoklch(51.69% 0.206 306.6)
XYZxyz(21.1414, 11.8745, 52.2067)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738C2 #73C238
analogous
#4238C2 #8738C2 #C238B8
triadic
#8738C2 #C28738 #38C287
tetradic
#8738C2 #C24238 #73C238 #38B8C2
square
#8738C2 #C24238 #73C238 #38B8C2
split-complementary
#8738C2 #B8C238 #38C242
monochromatic
#451D63 #662A93 #8738C2 #A465D2 #C094E0

Accessibility & contrast

On white

6.22
#8738C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8738C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738C2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738C2#FFFFFF#000000##FFFFFF
##8738C21.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#7D5879
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8738c2;
/* rgb */ color: rgb(135, 56, 194);
/* oklch */ color: oklch(51.7% 0.206 306.6);
Tailwind
colors: {
  custom: {
    50: '#af75d5',
    500: '#8738c2',
    950: '#000000',
  },
}
SCSS
$custom: #8738c2;
$custom-light: #af75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8738c2",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 274.348,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51692,
    "c": 0.20601,
    "h": 306.6
  },
  "luminance": 0.11874
}

Semantic roles & 50–950 ramp

primary
#8738C2
secondary
#A6CB8A
accent
#DF4989
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8738C2

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

Preview Lab → · Contrast checker → · Palette generator →

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