#8738CD#8738CD

#8738CD is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.217 H 303.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8738CD
RGBrgb(135, 56, 205)
HSLhsl(272, 60%, 51%)
HSVhsv(272, 73%, 80%)
CMYKcmyk(34.1%, 72.7%, 0%, 19.6%)
CIE-LABlab(41.82, 59.70, -63.31)
CIE-LCHlch(41.82, 87.02, 313.32°)
OKLaboklab(52.52% 0.121 -0.1803)
OKLCHoklch(52.52% 0.217 303.9)
XYZxyz(22.4227, 12.3871, 58.9554)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738CD #7ECD38
analogous
#3C38CD #8738CD #CD38C8
triadic
#8738CD #CD8738 #38CD87
tetradic
#8738CD #CD3C38 #7ECD38 #38C8CD
square
#8738CD #CD3C38 #7ECD38 #38C8CD
split-complementary
#8738CD #C8CD38 #38CD3C
monochromatic
#481C6F #6828A0 #8738CD #A469D9 #C29AE6

Accessibility & contrast

On white

6.04
#8738CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8738CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738CD
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738CD#FFFFFF#000000##FFFFFF
##8738CD1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#795C7F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8738cd;
/* rgb */ color: rgb(135, 56, 205);
/* oklch */ color: oklch(52.5% 0.217 303.9);
Tailwind
colors: {
  custom: {
    50: '#b076dd',
    500: '#8738cd',
    950: '#000000',
  },
}
SCSS
$custom: #8738cd;
$custom-light: #b076dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8738cd",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 271.812,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5252,
    "c": 0.21711,
    "h": 303.9
  },
  "luminance": 0.12387
}

Semantic roles & 50–950 ramp

primary
#8738CD
secondary
#AED18F
accent
#E3458F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8738CD

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

Preview Lab → · Contrast checker → · Palette generator →

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