#7235A5#7235A5

#7235A5 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.6% C 0.174 H 305.6°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7235A5
RGBrgb(114, 53, 165)
HSLhsl(273, 51%, 43%)
HSVhsv(273, 68%, 65%)
CMYKcmyk(30.9%, 67.9%, 0%, 35.3%)
CIE-LABlab(35.67, 47.48, -49.85)
CIE-LCHlch(35.67, 68.84, 313.61°)
OKLaboklab(46.63% 0.1014 -0.1414)
OKLCHoklch(46.63% 0.174 305.6)
XYZxyz(15.0026, 8.8403, 36.5060)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7235A5 #68A535
analogous
#3A35A5 #7235A5 #A535A0
triadic
#7235A5 #A57235 #35A572
tetradic
#7235A5 #A53A35 #68A535 #35A0A5
square
#7235A5 #A53A35 #68A535 #35A0A5
split-complementary
#7235A5 #A0A535 #35A53A
monochromatic
#321748 #522677 #7235A5 #9150C7 #AE7FD6

Accessibility & contrast

On white

7.59
#7235A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7235A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7235A5
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7235A5#FFFFFF#000000##FFFFFF
##7235A51.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#1354A3
Tritanopia (blue-blind)
#694E68
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7235a5;
/* rgb */ color: rgb(114, 53, 165);
/* oklch */ color: oklch(46.6% 0.174 305.6);
Tailwind
colors: {
  custom: {
    50: '#9f71c0',
    500: '#7235a5',
    950: '#000000',
  },
}
SCSS
$custom: #7235a5;
$custom-light: #9f71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7235a5",
  "rgb": {
    "r": 114,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 272.679,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46629,
    "c": 0.17396,
    "h": 305.6
  },
  "luminance": 0.0884
}

Semantic roles & 50–950 ramp

primary
#7235A5
secondary
#98BF77
accent
#DB4D8E
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7235A5

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

Preview Lab → · Contrast checker → · Palette generator →

#7235A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva