#8738CB#8738CB

#8738CB is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.4% C 0.215 H 304.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8738CB
RGBrgb(135, 56, 203)
HSLhsl(272, 59%, 51%)
HSVhsv(272, 72%, 80%)
CMYKcmyk(33.5%, 72.4%, 0%, 20.4%)
CIE-LABlab(41.68, 59.24, -62.40)
CIE-LCHlch(41.68, 86.04, 313.51°)
OKLaboklab(52.37% 0.1214 -0.1776)
OKLCHoklch(52.37% 0.215 304.4)
XYZxyz(22.1829, 12.2911, 57.6921)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738CB #7CCB38
analogous
#3D38CB #8738CB #CB38C5
triadic
#8738CB #CB8738 #38CB87
tetradic
#8738CB #CB3D38 #7CCB38 #38C5CB
square
#8738CB #CB3D38 #7CCB38 #38C5CB
split-complementary
#8738CB #C5CB38 #38CB3D
monochromatic
#471C6C #67299D #8738CB #A469D8 #C299E4

Accessibility & contrast

On white

6.07
#8738CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8738CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738CB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738CB#FFFFFF#000000##FFFFFF
##8738CB1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#7A5C7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8738cb;
/* rgb */ color: rgb(135, 56, 203);
/* oklch */ color: oklch(52.4% 0.215 304.4);
Tailwind
colors: {
  custom: {
    50: '#b076dc',
    500: '#8738cb',
    950: '#000000',
  },
}
SCSS
$custom: #8738cb;
$custom-light: #b076dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8738cb",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 272.245,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52367,
    "c": 0.2151,
    "h": 304.4
  },
  "luminance": 0.12291
}

Semantic roles & 50–950 ramp

primary
#8738CB
secondary
#ADD08F
accent
#E2468E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8738CB

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

Preview Lab → · Contrast checker → · Palette generator →

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