#7238B9#7238B9

#7238B9 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.5% C 0.192 H 299.7°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7238B9
RGBrgb(114, 56, 185)
HSLhsl(267, 54%, 47%)
HSVhsv(267, 70%, 73%)
CMYKcmyk(38.4%, 69.7%, 0%, 27.5%)
CIE-LABlab(37.68, 50.94, -58.50)
CIE-LCHlch(37.68, 77.57, 311.05°)
OKLaboklab(48.53% 0.0954 -0.1668)
OKLCHoklch(48.53% 0.192 299.7)
XYZxyz(17.1084, 9.9084, 46.9007)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7238B9 #7FB938
analogous
#383EB9 #7238B9 #B338B9
triadic
#7238B9 #B97238 #38B972
tetradic
#7238B9 #B9383E #7FB938 #38B9B3
square
#7238B9 #B9383E #7FB938 #38B9B3
split-complementary
#7238B9 #B9B338 #3EB938
monochromatic
#381C5B #552A8A #7238B9 #915FCF #B28EDD

Accessibility & contrast

On white

7.04
#7238B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7238B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7238B9
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7238B9#FFFFFF#000000##FFFFFF
##7238B91.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0058B6
Tritanopia (blue-blind)
#625774
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7238b9;
/* rgb */ color: rgb(114, 56, 185);
/* oklch */ color: oklch(48.5% 0.192 299.7);
Tailwind
colors: {
  custom: {
    50: '#a073cf',
    500: '#7238b9',
    950: '#000000',
  },
}
SCSS
$custom: #7238b9;
$custom-light: #a073cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7238b9",
  "rgb": {
    "r": 114,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 266.977,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48526,
    "c": 0.19216,
    "h": 299.7
  },
  "luminance": 0.09909
}

Semantic roles & 50–950 ramp

primary
#7238B9
secondary
#AAC885
accent
#DD4B9B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7238B9

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

Preview Lab → · Contrast checker → · Palette generator →

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