#7238A5#7238A5

#7238A5 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.0% C 0.170 H 305.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7238A5
RGBrgb(114, 56, 165)
HSLhsl(272, 49%, 43%)
HSVhsv(272, 66%, 65%)
CMYKcmyk(30.9%, 66.1%, 0%, 35.3%)
CIE-LABlab(36.22, 45.98, -48.97)
CIE-LCHlch(36.22, 67.17, 313.20°)
OKLaboklab(47.02% 0.0979 -0.1388)
OKLCHoklch(47.02% 0.17 305.2)
XYZxyz(15.1436, 9.1225, 36.5530)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7238A5 #6BA538
analogous
#3C38A5 #7238A5 #A538A1
triadic
#7238A5 #A57238 #38A572
tetradic
#7238A5 #A53C38 #6BA538 #38A1A5
square
#7238A5 #A53C38 #6BA538 #38A1A5
split-complementary
#7238A5 #A1A538 #38A53C
monochromatic
#33194A #522877 #7238A5 #9155C5 #AE83D5

Accessibility & contrast

On white

7.44
#7238A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7238A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7238A5
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7238A5#FFFFFF#000000##FFFFFF
##7238A51.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#1A55A3
Tritanopia (blue-blind)
#694F69
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7238a5;
/* rgb */ color: rgb(114, 56, 165);
/* oklch */ color: oklch(47.0% 0.170 305.2);
Tailwind
colors: {
  custom: {
    50: '#9f72c0',
    500: '#7238a5',
    950: '#000000',
  },
}
SCSS
$custom: #7238a5;
$custom-light: #9f72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7238a5",
  "rgb": {
    "r": 114,
    "g": 56,
    "b": 165
  },
  "hsl": {
    "h": 271.927,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4702,
    "c": 0.16986,
    "h": 305.2
  },
  "luminance": 0.09122
}

Semantic roles & 50–950 ramp

primary
#7238A5
secondary
#9ABE7A
accent
#D94F8F
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7238A5

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

Preview Lab → · Contrast checker → · Palette generator →

#7238A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva