#8738CF#8738CF

#8738CF is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.219 H 303.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8738CF
RGBrgb(135, 56, 207)
HSLhsl(271, 61%, 52%)
HSVhsv(271, 73%, 81%)
CMYKcmyk(34.8%, 72.9%, 0%, 18.8%)
CIE-LABlab(41.98, 60.17, -64.22)
CIE-LCHlch(41.98, 88.00, 313.13°)
OKLaboklab(52.67% 0.1206 -0.1829)
OKLCHoklch(52.67% 0.219 303.4)
XYZxyz(22.6657, 12.4843, 60.2350)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738CF #80CF38
analogous
#3C38CF #8738CF #CF38CC
triadic
#8738CF #CF8738 #38CF87
tetradic
#8738CF #CF3C38 #80CF38 #38CCCF
square
#8738CF #CF3C38 #80CF38 #38CCCF
split-complementary
#8738CF #CCCF38 #38CF3C
monochromatic
#481B71 #6827A3 #8738CF #A569DB #C29BE7

Accessibility & contrast

On white

6.01
#8738CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8738CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738CF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738CF#FFFFFF#000000##FFFFFF
##8738CF1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#795D81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8738cf;
/* rgb */ color: rgb(135, 56, 207);
/* oklch */ color: oklch(52.7% 0.219 303.4);
Tailwind
colors: {
  custom: {
    50: '#b076df',
    500: '#8738cf',
    950: '#000000',
  },
}
SCSS
$custom: #8738cf;
$custom-light: #b076df;
$custom-dark: #000000;
JSON
{
  "hex": "#8738cf",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 271.391,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52674,
    "c": 0.21913,
    "h": 303.4
  },
  "luminance": 0.12484
}

Semantic roles & 50–950 ramp

primary
#8738CF
secondary
#B0D390
accent
#E44490
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8738CF

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

Preview Lab → · Contrast checker → · Palette generator →

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