#7234B2#7234B2

#7234B2 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.189 H 302.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#7234B2
RGBrgb(114, 52, 178)
HSLhsl(270, 55%, 45%)
HSVhsv(270, 71%, 70%)
CMYKcmyk(36%, 70.8%, 0%, 30.2%)
CIE-LABlab(36.46, 51.12, -56.34)
CIE-LCHlch(36.46, 76.08, 312.22°)
OKLaboklab(47.49% 0.1006 -0.1605)
OKLCHoklch(47.49% 0.189 302.1)
XYZxyz(16.2014, 9.2477, 43.0423)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7234B2 #74B234
analogous
#3435B2 #7234B2 #B134B2
triadic
#7234B2 #B27234 #34B272
tetradic
#7234B2 #B23435 #74B234 #34B2B1
square
#7234B2 #B23435 #74B234 #34B2B1
split-complementary
#7234B2 #B2B134 #35B234
monochromatic
#351853 #542683 #7234B2 #9156CE #B085DB

Accessibility & contrast

On white

7.37
#7234B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7234B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7234B2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7234B2#FFFFFF#000000##FFFFFF
##7234B21.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#65526F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7234b2;
/* rgb */ color: rgb(114, 52, 178);
/* oklch */ color: oklch(47.5% 0.189 302.1);
Tailwind
colors: {
  custom: {
    50: '#a071ca',
    500: '#7234b2',
    950: '#000000',
  },
}
SCSS
$custom: #7234b2;
$custom-light: #a071ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7234b2",
  "rgb": {
    "r": 114,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 269.524,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47489,
    "c": 0.1894,
    "h": 302.1
  },
  "luminance": 0.09248
}

Semantic roles & 50–950 ramp

primary
#7234B2
secondary
#A1C57D
accent
#DE4A95
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7234B2

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

Preview Lab → · Contrast checker → · Palette generator →

#7234B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva