#8738BE#8738BE

#8738BE is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.202 H 307.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8738BE
RGBrgb(135, 56, 190)
HSLhsl(275, 54%, 48%)
HSVhsv(275, 71%, 75%)
CMYKcmyk(28.9%, 70.5%, 0%, 25.5%)
CIE-LABlab(40.73, 56.29, -56.36)
CIE-LCHlch(40.73, 79.65, 314.96°)
OKLaboklab(51.4% 0.1235 -0.1598)
OKLCHoklch(51.4% 0.202 307.7)
XYZxyz(20.6982, 11.6972, 49.8726)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738BE #6FBE38
analogous
#4438BE #8738BE #BE38B2
triadic
#8738BE #BE8738 #38BE87
tetradic
#8738BE #BE4438 #6FBE38 #38B2BE
square
#8738BE #BE4438 #6FBE38 #38B2BE
split-complementary
#8738BE #B2BE38 #38BE44
monochromatic
#441C5F #652A8F #8738BE #A362D1 #BF92DF

Accessibility & contrast

On white

6.29
#8738BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8738BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738BE
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738BE#FFFFFF#000000##FFFFFF
##8738BE1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#1161BB
Tritanopia (blue-blind)
#7E5677
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8738be;
/* rgb */ color: rgb(135, 56, 190);
/* oklch */ color: oklch(51.4% 0.202 307.7);
Tailwind
colors: {
  custom: {
    50: '#af75d2',
    500: '#8738be',
    950: '#000000',
  },
}
SCSS
$custom: #8738be;
$custom-light: #af75d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8738be",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 275.373,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51399,
    "c": 0.20197,
    "h": 307.7
  },
  "luminance": 0.11697
}

Semantic roles & 50–950 ramp

primary
#8738BE
secondary
#A3CA88
accent
#DE4A87
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8738BE

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

Preview Lab → · Contrast checker → · Palette generator →

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