#7234C6#7234C6

#7234C6 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.211 H 297.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7234C6
RGBrgb(114, 52, 198)
HSLhsl(265, 58%, 49%)
HSVhsv(265, 74%, 78%)
CMYKcmyk(42.4%, 73.7%, 0%, 22.4%)
CIE-LABlab(38.04, 56.09, -65.53)
CIE-LCHlch(38.04, 86.26, 310.56°)
OKLaboklab(49.1% 0.0966 -0.1875)
OKLCHoklch(49.1% 0.211 297.3)
XYZxyz(18.3578, 10.1103, 54.3994)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7234C6 #88C634
analogous
#343FC6 #7234C6 #BB34C6
triadic
#7234C6 #C67234 #34C672
tetradic
#7234C6 #C6343F #88C634 #34C6BB
square
#7234C6 #C6343F #88C634 #34C6BB
split-complementary
#7234C6 #C6BB34 #3FC634
monochromatic
#3A1B65 #562796 #7234C6 #9362D6 #B492E2

Accessibility & contrast

On white

6.95
#7234C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7234C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7234C6
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7234C6#FFFFFF#000000##FFFFFF
##7234C61.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACA
Deuteranopia (green-blind)
#0058C3
Tritanopia (blue-blind)
#5C5A7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7234c6;
/* rgb */ color: rgb(114, 52, 198);
/* oklch */ color: oklch(49.1% 0.211 297.3);
Tailwind
colors: {
  custom: {
    50: '#a271d8',
    500: '#7234c6',
    950: '#000000',
  },
}
SCSS
$custom: #7234c6;
$custom-light: #a271d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7234c6",
  "rgb": {
    "r": 114,
    "g": 52,
    "b": 198
  },
  "hsl": {
    "h": 265.479,
    "s": 58.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49103,
    "c": 0.2109,
    "h": 297.3
  },
  "luminance": 0.10111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7234C6

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

Preview Lab → · Contrast checker → · Palette generator →

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