#7234C7#7234C7

#7234C7 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.212 H 297.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7234C7
RGBrgb(114, 52, 199)
HSLhsl(265, 59%, 49%)
HSVhsv(265, 74%, 78%)
CMYKcmyk(42.7%, 73.9%, 0%, 22%)
CIE-LABlab(38.12, 56.34, -65.98)
CIE-LCHlch(38.12, 86.76, 310.50°)
OKLaboklab(49.19% 0.0964 -0.1888)
OKLCHoklch(49.19% 0.212 297)
XYZxyz(18.4735, 10.1565, 55.0089)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7234C7 #89C734
analogous
#3440C7 #7234C7 #BC34C7
triadic
#7234C7 #C77234 #34C772
tetradic
#7234C7 #C73440 #89C734 #34C7BC
square
#7234C7 #C73440 #89C734 #34C7BC
split-complementary
#7234C7 #C7BC34 #40C734
monochromatic
#3A1B66 #562796 #7234C7 #9362D6 #B493E3

Accessibility & contrast

On white

6.93
#7234C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7234C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7234C7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7234C7#FFFFFF#000000##FFFFFF
##7234C71.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACB
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#5C5A7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7234c7;
/* rgb */ color: rgb(114, 52, 199);
/* oklch */ color: oklch(49.2% 0.212 297.0);
Tailwind
colors: {
  custom: {
    50: '#a271d9',
    500: '#7234c7',
    950: '#000000',
  },
}
SCSS
$custom: #7234c7;
$custom-light: #a271d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7234c7",
  "rgb": {
    "r": 114,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 265.306,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49187,
    "c": 0.21197,
    "h": 297
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#7234C7
secondary
#B1CE89
accent
#E246A0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7234C7

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

Preview Lab → · Contrast checker → · Palette generator →

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