#7238AF#7238AF

#7238AF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.181 H 302.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7238AF
RGBrgb(114, 56, 175)
HSLhsl(269, 52%, 45%)
HSVhsv(269, 68%, 69%)
CMYKcmyk(34.9%, 68%, 0%, 31.4%)
CIE-LABlab(36.93, 48.44, -53.79)
CIE-LCHlch(36.93, 72.38, 312.00°)
OKLaboklab(47.76% 0.0968 -0.153)
OKLCHoklch(47.76% 0.181 302.3)
XYZxyz(16.0896, 9.5009, 41.5353)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7238AF #75AF38
analogous
#3839AF #7238AF #AD38AF
triadic
#7238AF #AF7238 #38AF72
tetradic
#7238AF #AF3839 #75AF38 #38AFAD
square
#7238AF #AF3839 #75AF38 #38AFAD
split-complementary
#7238AF #AFAD38 #39AF38
monochromatic
#361A52 #542981 #7238AF #915ACA #B088D9

Accessibility & contrast

On white

7.24
#7238AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7238AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7238AF
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7238AF#FFFFFF#000000##FFFFFF
##7238AF1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#66536F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7238af;
/* rgb */ color: rgb(114, 56, 175);
/* oklch */ color: oklch(47.8% 0.181 302.3);
Tailwind
colors: {
  custom: {
    50: '#9f73c8',
    500: '#7238af',
    950: '#000000',
  },
}
SCSS
$custom: #7238af;
$custom-light: #9f73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7238af",
  "rgb": {
    "r": 114,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 269.244,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47757,
    "c": 0.18105,
    "h": 302.3
  },
  "luminance": 0.09501
}

Semantic roles & 50–950 ramp

primary
#7238AF
secondary
#A2C380
accent
#DB4D96
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7238AF

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

Preview Lab → · Contrast checker → · Palette generator →

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