#9438CF#9438CF

#9438CF is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.3% C 0.222 H 308.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9438CF
RGBrgb(148, 56, 207)
HSLhsl(277, 61%, 52%)
HSVhsv(277, 73%, 81%)
CMYKcmyk(28.5%, 72.9%, 0%, 18.8%)
CIE-LABlab(43.70, 62.56, -61.35)
CIE-LCHlch(43.70, 87.62, 315.56°)
OKLaboklab(54.26% 0.1381 -0.174)
OKLCHoklch(54.26% 0.222 308.4)
XYZxyz(24.8871, 13.6297, 60.3391)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9438CF #73CF38
analogous
#4938CF #9438CF #CF38BF
triadic
#9438CF #CF9438 #38CF94
tetradic
#9438CF #CF4938 #73CF38 #38BFCF
square
#9438CF #CF4938 #73CF38 #38BFCF
split-complementary
#9438CF #BFCF38 #38CF49
monochromatic
#501B71 #7227A3 #9438CF #AF69DB #C99BE7

Accessibility & contrast

On white

5.64
#9438CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9438CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9438CF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9438CF#FFFFFF#000000##FFFFFF
##9438CF1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0268CC
Tritanopia (blue-blind)
#8B5B81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9438cf;
/* rgb */ color: rgb(148, 56, 207);
/* oklch */ color: oklch(54.3% 0.222 308.4);
Tailwind
colors: {
  custom: {
    50: '#b877df',
    500: '#9438cf',
    950: '#000000',
  },
}
SCSS
$custom: #9438cf;
$custom-light: #b877df;
$custom-dark: #000000;
JSON
{
  "hex": "#9438cf",
  "rgb": {
    "r": 148,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 276.556,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54257,
    "c": 0.22219,
    "h": 308.4
  },
  "luminance": 0.13629
}

Semantic roles & 50–950 ramp

primary
#9438CF
secondary
#AAD390
accent
#E44482
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9438CF

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

Preview Lab → · Contrast checker → · Palette generator →

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