#9238D3#9238D3

#9238D3 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.3% C 0.226 H 306.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9238D3
RGBrgb(146, 56, 211)
HSLhsl(275, 64%, 52%)
HSVhsv(275, 73%, 83%)
CMYKcmyk(30.8%, 73.5%, 0%, 17.3%)
CIE-LABlab(43.72, 63.06, -63.64)
CIE-LCHlch(43.72, 89.59, 314.74°)
OKLaboklab(54.31% 0.1348 -0.1808)
OKLCHoklch(54.31% 0.226 306.7)
XYZxyz(25.0236, 13.6428, 62.9304)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9238D3 #79D338
analogous
#4538D3 #9238D3 #D338C6
triadic
#9238D3 #D39238 #38D392
tetradic
#9238D3 #D34538 #79D338 #38C6D3
square
#9238D3 #D34538 #79D338 #38C6D3
split-complementary
#9238D3 #C6D338 #38D345
monochromatic
#501A76 #7125A9 #9238D3 #AD6ADE #C99CE9

Accessibility & contrast

On white

5.63
#9238D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9238D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9238D3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9238D3#FFFFFF#000000##FFFFFF
##9238D31.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#875D83
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9238d3;
/* rgb */ color: rgb(146, 56, 211);
/* oklch */ color: oklch(54.3% 0.226 306.7);
Tailwind
colors: {
  custom: {
    50: '#b777e1',
    500: '#9238d3',
    950: '#000000',
  },
}
SCSS
$custom: #9238d3;
$custom-light: #b777e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9238d3",
  "rgb": {
    "r": 146,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 274.839,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.22553,
    "h": 306.7
  },
  "luminance": 0.13642
}

Semantic roles & 50–950 ramp

primary
#9238D3
secondary
#AED592
accent
#E74187
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9238D3

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

Preview Lab → · Contrast checker → · Palette generator →

#9238D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva