#8738CA#8738CA

#8738CA is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.3% C 0.214 H 304.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8738CA
RGBrgb(135, 56, 202)
HSLhsl(272, 58%, 51%)
HSVhsv(272, 72%, 79%)
CMYKcmyk(33.2%, 72.3%, 0%, 20.8%)
CIE-LABlab(41.60, 59.01, -61.94)
CIE-LCHlch(41.60, 85.55, 313.61°)
OKLaboklab(52.29% 0.1216 -0.1762)
OKLCHoklch(52.29% 0.214 304.6)
XYZxyz(22.0641, 12.2436, 57.0665)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738CA #7BCA38
analogous
#3E38CA #8738CA #CA38C4
triadic
#8738CA #CA8738 #38CA87
tetradic
#8738CA #CA3E38 #7BCA38 #38C4CA
square
#8738CA #CA3E38 #7BCA38 #38C4CA
split-complementary
#8738CA #C4CA38 #38CA3E
monochromatic
#471D6B #67299B #8738CA #A468D7 #C199E4

Accessibility & contrast

On white

6.09
#8738CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8738CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738CA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738CA#FFFFFF#000000##FFFFFF
##8738CA1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#7A5B7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8738ca;
/* rgb */ color: rgb(135, 56, 202);
/* oklch */ color: oklch(52.3% 0.214 304.6);
Tailwind
colors: {
  custom: {
    50: '#af76db',
    500: '#8738ca',
    950: '#000000',
  },
}
SCSS
$custom: #8738ca;
$custom-light: #af76db;
$custom-dark: #000000;
JSON
{
  "hex": "#8738ca",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 272.466,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52291,
    "c": 0.21409,
    "h": 304.6
  },
  "luminance": 0.12244
}

Semantic roles & 50–950 ramp

primary
#8738CA
secondary
#ACCF8E
accent
#E1478E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8738CA

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

Preview Lab → · Contrast checker → · Palette generator →

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