#7234C5#7234C5

#7234C5 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.0% C 0.210 H 297.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7234C5
RGBrgb(114, 52, 197)
HSLhsl(266, 58%, 49%)
HSVhsv(266, 74%, 77%)
CMYKcmyk(42.1%, 73.6%, 0%, 22.7%)
CIE-LABlab(37.96, 55.84, -65.08)
CIE-LCHlch(37.96, 85.75, 310.63°)
OKLaboklab(49.02% 0.0968 -0.1861)
OKLCHoklch(49.02% 0.21 297.5)
XYZxyz(18.2428, 10.0643, 53.7939)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7234C5 #87C534
analogous
#343FC5 #7234C5 #BB34C5
triadic
#7234C5 #C57234 #34C572
tetradic
#7234C5 #C5343F #87C534 #34C5BB
square
#7234C5 #C5343F #87C534 #34C5BB
split-complementary
#7234C5 #C5BB34 #3FC534
monochromatic
#3A1A64 #562795 #7234C5 #9361D5 #B491E2

Accessibility & contrast

On white

6.97
#7234C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7234C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7234C5
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7234C5#FFFFFF#000000##FFFFFF
##7234C51.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#5D5A7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7234c5;
/* rgb */ color: rgb(114, 52, 197);
/* oklch */ color: oklch(49.0% 0.210 297.5);
Tailwind
colors: {
  custom: {
    50: '#a271d8',
    500: '#7234c5',
    950: '#000000',
  },
}
SCSS
$custom: #7234c5;
$custom-light: #a271d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7234c5",
  "rgb": {
    "r": 114,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 265.655,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4902,
    "c": 0.20983,
    "h": 297.5
  },
  "luminance": 0.10065
}

Semantic roles & 50–950 ramp

primary
#7234C5
secondary
#AFCD88
accent
#E1469F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7234C5

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

Preview Lab → · Contrast checker → · Palette generator →

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