#7238B7#7238B7

#7238B7 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.4% C 0.190 H 300.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7238B7
RGBrgb(114, 56, 183)
HSLhsl(267, 53%, 47%)
HSVhsv(267, 69%, 72%)
CMYKcmyk(37.7%, 69.4%, 0%, 28.2%)
CIE-LABlab(37.53, 50.44, -57.56)
CIE-LCHlch(37.53, 76.54, 311.23°)
OKLaboklab(48.37% 0.0957 -0.1641)
OKLCHoklch(48.37% 0.19 300.2)
XYZxyz(16.8987, 9.8245, 45.7966)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7238B7 #7DB738
analogous
#383DB7 #7238B7 #B238B7
triadic
#7238B7 #B77238 #38B772
tetradic
#7238B7 #B7383D #7DB738 #38B7B2
square
#7238B7 #B7383D #7DB738 #38B7B2
split-complementary
#7238B7 #B7B238 #3DB738
monochromatic
#381B59 #552A88 #7238B7 #915ECE #B18DDC

Accessibility & contrast

On white

7.08
#7238B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7238B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7238B7
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7238B7#FFFFFF#000000##FFFFFF
##7238B71.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#635673
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7238b7;
/* rgb */ color: rgb(114, 56, 183);
/* oklch */ color: oklch(48.4% 0.190 300.2);
Tailwind
colors: {
  custom: {
    50: '#a073cd',
    500: '#7238b7',
    950: '#000000',
  },
}
SCSS
$custom: #7238b7;
$custom-light: #a073cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7238b7",
  "rgb": {
    "r": 114,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 267.402,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4837,
    "c": 0.18994,
    "h": 300.2
  },
  "luminance": 0.09825
}

Semantic roles & 50–950 ramp

primary
#7238B7
secondary
#A8C784
accent
#DD4B9A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7238B7

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

Preview Lab → · Contrast checker → · Palette generator →

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